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

How can I insert my API key into the setting? #18

Open
jeongmincha opened this issue Jul 28, 2020 · 3 comments
Open

How can I insert my API key into the setting? #18

jeongmincha opened this issue Jul 28, 2020 · 3 comments

Comments

@jeongmincha
Copy link

I couldn't find how to set api key in the README.md.
Can I set API key while using this library?

@mwieth
Copy link

mwieth commented Aug 29, 2020

Hi, use this: const fmp = require('financialmodelingprep')(apikey)

@Sireini
Copy link

Sireini commented Nov 13, 2020

is the apikey a string? As I tried it and get this error message:

{
'Error Message': 'Invalid API KEY. Please retry or visit our documentation to create one FREE https://financialmodelingprep.com/developer/docs'
}

@gabriardi
Copy link
Contributor

Yes, the apikey should be passed as a string.
I believe the error was caused by a bug fixed by my pr.

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

4 participants