Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API KEY does not work.! #69

Closed
4bdulll4 opened this issue Feb 21, 2016 · 8 comments
Closed

API KEY does not work.! #69

4bdulll4 opened this issue Feb 21, 2016 · 8 comments

Comments

@4bdulll4
Copy link

I placed my API key. but i still get the error message.

onfig.APIKey = "*******************************"

@schachmat
Copy link
Owner

Please paste your complete config file and the exact error message you are getting when running wego.

@4bdulll4
Copy link
Author

The errors message states that i don't have the API key.

2016/02/22 00:04:42 No API key specified. Setup instructions are in the README.

And, there is no additional file for the configuration.
I placed the key in init() function as follows:

screenshot_1

@schachmat
Copy link
Owner

You have to put the API key into the config file .wegorc in your home directory. Since it starts with a . it is hidden from most file managers, but you can still edit it for example with nano ~/.wegorc from the terminal.

@4bdulll4
Copy link
Author

I cannot find such file. I am using windows explorer.

@schachmat
Copy link
Owner

Should be C:\Documents and Settings\YOURUSERACCOUNTNAMEHERE\.wegorc in Windows XP and C:\Users\YOURUSERACCOUNTNAMEHERE\.wegorc in later windows versions. If you still can't find it, put log.Fatal(configpath) instead of the config.APIKey = "*******************" line, rebuild and run to get the file location.

@4bdulll4
Copy link
Author

Thank you it's working now.

@4bdulll4
Copy link
Author

I was also wondering if it supports light version or not.

@schachmat
Copy link
Owner

currently not, see #24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants