Dear developer rescue J
I am no coder but merely a ‘Padawan learner’ and writer in the world of blogging. I just joined Daylife and I have to say, I am just in love with the project!! I have a developer id, and I am kind of sort of getting the whole signature thing, but not really. Which is a big problem. So before I ask my help question…..
….one quick comment if I may.
Your documentation while excellent for a coder type is, as so much of these kinds of things, coder friendly and definitely not friendly to non coders. You make some assumptions in your documentation about your audience’s knowledge level that isn’t really very helpful. I can point to some specifics if anyone would be interested. I think it would be helpful for you guys to consider some minor changes to what you have written. Ie…you say never include the id in the call, but later show an example where the id is included, but don’t clarify that with a real life example. One little example and I could have perhaps figured it out myself. Multiply by how ever many non coders are bugging you about ‘how to’ do ‘x’.
I want to be able to output titles, an abstract of an article, with a link to the actual article on one of my pages, and any accompanying images for country music artists, and related stories. How would I do that? Can you help me do that?
Thanks!!!!
Frank Pecsy
Lover of Daylife already! LOL!!
Signature!
thatmtnman,
Thanks for the great feedback. Really helps to know "what doesn't work and how to make it better" ...
As for API signature, you have few main things to know:
What is your core input? That depends on what API call you are making. These are the possible values:
$signature = md5('your accesskey' . 'your sharedsecret' . 'country music');
Sample API call - http://freeapi.daylife.com/xmlrest/publicapi/4.4/search_getRelatedArticl...
$signature = md5('your accesskey' . 'your sharedsecret' . 'Carrie Underwood');
Sample API call - http://freeapi.daylife.com/xmlrest/publicapi/4.4/topic_getRelatedStories...
$signature = md5('your accesskey' . 'your sharedsecret' . 'The New York Times');
Sample API call - http://freeapi.daylife.com/xmlrest/publicapi/4.4/source_getArticles?name...
$signature = md5('your accesskey' . 'your sharedsecret' . '0b5L3i62pXcJC');
Sample API call - http://freeapi.daylife.com/xmlrest/publicapi/4.4/article_getInfo?article...
$signature = md5('your accesskey' . 'your sharedsecret' . '06hxdWm0axfyB');
Sample API call - http://freeapi.daylife.com/xmlrest/publicapi/4.4/quote_getInfo?quote_id=...