What's the current status of the API following the update to tags? For searching, can ony see: http://www.daniweb.com/api/articles/search?query=blah
which gives the same results regardless of the query text (and the 'members' equivalent, which seems to work). Was there not a tags endpoint before? Can't remember. Anyhow, was thinking of a side project with the API, but I don't want to start if it's not working as expected. For example, as the PHP forum no longer exists, I was trying to get articles with 'PHP' in them, but got a lot of junk. Thanks.
diafol
Recommended Answers
Jump to PostUnfortunately, there was never a tags endpoint, and the API has not been updated since switching to the tag-based system. While there is currently no way to filter results by tags (only forums) but this will be handled very soon. I'll try to get to it tonight or tomorrow the …
Jump to PostYou can now use the https://www.daniweb.com/api/articles/{:TAGS} endpoint, where {:TAGS} is a semi-colon delimited list of tags. They use OR instead of intersect.
Additionally, I've discovered tonight that you might be getting NULL back because you are using an older version of cURL, and your cURL request cannot connect over …
Jump to PostYou're getting inconsistent results retrieving forums because they are sometimes cached.
When using file_get_contents, always use https (it will work).
It's just cURL requests with POST data that are not working with https right now.
Jump to PostYes, reverted back to the way things were yesterday morning (but I still don't understand why they weren't working for you yesterday morning but they are working for you now.)
All 13 Replies
diafol
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
diafol
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
diafol
diafol
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
diafol
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
nullptr
167
Occasional Poster
diafol
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.