Comments (6)
It's working correctly to me, just tested. Please try with this code and let me know what it prints:
const { investing } = require('investing-com-api')
async function main () {
try {
const response = await investing('currencies/eur-usd')
console.log(response)
} catch (err) {
console.error(err)
}
}
main()
from investing-com-api.
I don't know, I think your code is not the same as the one I posted above.
Please give me your complete code and tell me your Node.js version (node --version), npm version (npm --version) and investing-com-api version (check package.json).
You can see the package working correctly here if you paste the code I posted above and clicking Run. Screenshot
.
from investing-com-api.
Firstly, I want to say thank you to you. The output information is below.
nvesting-node-test AlexLee$ node ./main.js
No response.data.candles found
undefined
from investing-com-api.
Thank you for your reply.
I push everything to the GitHub repo(https://github.com/djangoIee/investing-com-api-demo).
Is there any chance that you could help me to check the code?
from investing-com-api.
I don't know, I think your code is not the same as the one I posted above.
Please give me your complete code and tell me your Node.js version (node --version), npm version (npm --version) and investing-com-api version (check package.json).You can see the package working correctly here if you paste the code I posted above and clicking Run. Screenshot
.
node --version
v10.23.0
npm --version
6.14.8
from investing-com-api.
Try to update to latest node version (v14) and post here you complete code, if different from above.
from investing-com-api.
Related Issues (18)
- I am unable to get results HOT 8
- Max memory and restart windows server HOT 3
- Accessing historical data directly (error)
- APIs changes
- Add some missing indices
- Please make an API guide doc HOT 3
- Is item[1] the correct value to return as default value? HOT 1
- Add 2 more parameters about the volumes
- Where is the header? HOT 2
- Request failed with status code 403 HOT 8
- Add all missing data HOT 3
- Fix tests on v4
- Add Playwright (the successor of Puppeteer) in addition to Puppeteer HOT 5
- Add market calendar data HOT 1
- Need solution for manual input pairId if fetch item not exists in mapping.js HOT 2
- Need a solution to bypass args for launch pupperteer HOT 4
- Add parameter to specify Puppeteer launch options for use in Docker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from investing-com-api.