Comments (9)
Hi there @mjdguyler , sorry to hear you are encountering issues with the provided code. Would you be able to provide some more information? Here are a couple of different options that would make it much easier for us to help get you up and running:
- The full api url that is being hit along with the parameters (you should be able to find this in chrome debug tools under the network tab)
- A hosted url to your project so that we can debug ourselves
- An exported .har file from chrome for the API request (see attached screenshot)
Hopefully we can help you get you back up and running!
from deprecated-dataapis.
Parameters:
parameters:
"{"Normalized":false,"NumberOfDays":3650,"DataPeriod":"Day","Elements":[{"Symbol":"APPL","Type":"price","Params":["ohlc"]},{"Symbol":"APPL","Type":"volume"}]}"
URL:
url: "http://dev.markitondemand.com/Api/v2/InteractiveChart/jsonp",
Attached is the HAR.
The website cannot be attached as it is running on localhost. I downloaded
the code as you had it on GitHub and added inside my .js file a call to
give parameters and make the new Markit.InteractiveChartApi like in the
demo.
On Wed, May 20, 2015 at 11:00 AM, Ali Khatami [email protected]
wrote:
Hi there @mjdguyler https://github.com/mjdguyler , sorry to hear you
are encountering issues with the provided code. Would you be able to
provide some more information? Here are a couple of different options that
would make it much easier for us to help get you up and running:
- The full api url that is being hit along with the parameters (you
should be able to find this in chrome debug tools under the network tab)- A hosted url to your project so that we can debug ourselves
- An exported .har file from chrome for the API request (see attached
screenshot) [image: image]
https://cloud.githubusercontent.com/assets/1418016/7732750/3e696292-fee7-11e4-925b-4892bd1512d6.pngHopefully we can help you get you back up and running!
—
Reply to this email directly or view it on GitHub
#18 (comment)
.
from deprecated-dataapis.
@mjdguyler It doesn't look like the entire har was attached can you instead try copying the full url using google chrome. I'm using http://markitondemand.github.io/DataApis/InteractiveChartSample/ as an example:
The full url should look like this...
from deprecated-dataapis.
On Wed, May 20, 2015 at 11:47 AM, Ali Khatami [email protected]
wrote:
@mjdguyler https://github.com/mjdguyler It doesn't look like the entire
har was attached can you instead try copying the full url using google
chrome. I'm using
http://markitondemand.github.io/DataApis/InteractiveChartSample/ as an
example:The full url should look like this...
Escaped
[image: image]
https://cloud.githubusercontent.com/assets/1418016/7733704/1e2d5252-feee-11e4-8d08-db8af118f805.png—
Reply to this email directly or view it on GitHub
#18 (comment)
.
from deprecated-dataapis.
@mjdguyler I am almost at a loss. I checked the API code and nothing seems to be out of the ordinary, but your URL does return an error. What's stranger still is that I took the parameters from my url, replaced the parameters in yours for reference, and it works! They look the same, but I'm wondering if there is some weird encoding in the string somewhere. Even after changing your callback value to my callback value yours still failed. I've gotten to the point where I think it might be some type of encoding issue with your page. Is your page in UTF8?
Check out these example urls for reference:
Works
Doesn't Work
As you can see the urls appear to be identical, but the second url was constructed using your url example.
@brianbaker , @timburcham can someone sanity check me here?
from deprecated-dataapis.
The working example uses AAPL, which is Apple. The non-working example uses APPL, which is Pete Appel Corp, a delisted OTC stock. http://finance.yahoo.com/q?uhb=uh3_finance_vert&fr=&type=2button&s=appl
If you switch your example to AAPL, in both places, it should work.
Nice brainteaser, by the way. :)
from deprecated-dataapis.
@mjdguyler , if you can drop some line numbers to where you found this originally, we will work to correct any error in the documentation.
from deprecated-dataapis.
Thanks for your help, I had thought I typed that in correctly.
On Wed, May 20, 2015 at 12:41 PM, Tim Burcham [email protected]
wrote:
@mjdguyler https://github.com/mjdguyler , if you can drop some line
numbers to where you found this originally, we will work to correct any
error in the documentation.—
Reply to this email directly or view it on GitHub
#18 (comment)
.
from deprecated-dataapis.
@timburcham I, no joke, had three developers look at that before I added that reply. Now that you pointed it out it's so obvious it hurts. Good spot Tim!
from deprecated-dataapis.
Related Issues (20)
- Some of your stocks are no longer working HOT 1
- Failure|APP_SPECIFIC_ERROR for Stock Quote API HOT 1
- Interactive Chart API does not return any elements HOT 4
- Interactive Chart API not returning Data for hour or minute requests. HOT 1
- Failed to load resource: net::ERR_CONNECTION_TIMED_OUT HOT 1
- Quote API returning Document Moved HTML instead of JSON response HOT 2
- adding 'Access-Control-Allow-Origin'?
- Error in data download from Markets Data API V1 - 1 HOT 1
- Error in data download from Markets Data API V1 - 2 HOT 1
- Error in data download from Markets Data API V1 - 3 HOT 1
- Error in data download from Markets Data API V1 - 4 HOT 1
- Error in data download from Markets Data API V1 - 5 HOT 1
- Zoom intervals HOT 1
- No way to get a quote for a specific day? HOT 1
- HTTPS fail HOT 1
- API page returns an error HOT 2
- Why return Quote results as a function? Why not return as JSON? HOT 2
- Is the API offline? HOT 1
- Failure|APP_SPECIFIC_ERROR HOT 1
- DEPRECATED 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 deprecated-dataapis.