Author

Topic: worldcoinindex api (Read 719 times)

legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
January 26, 2016, 03:52:20 PM
#3
There might be a problem with your parser.Open your Console (preferably Google Chrome) and check the GET requests with the time delays.If you could send me the code or post it here I would have the clear idea of the bug.
full member
Activity: 168
Merit: 100
January 26, 2016, 11:12:43 AM
#2
The percentage change depends on the time period you're viewing it over. It's not included in the API response, but all you'd need to do is just store the last price you retrieved and then compare Smiley If you just want the daily % change, you could just fetch all the prices once at the start of the day and compare all future requests to those.

Another (dirtier) option would be manually scrapping it from the main page.
sr. member
Activity: 469
Merit: 250
January 26, 2016, 11:07:04 AM
#1
i am using worldcoinindex.com api i get the prices but am struggling to get the correct percentage change for each currency the same as world coin index.

any help appreciated will pay for solution with working example
Jump to: