Saturday, April 6, 2019

DZone API: the unpublished beast

If you ever want to pull metadata from DZone users or posts, these JSON API endpoints may become handy.

I did not find any documentation for these endpoints, probably because they are intended for use by DZone's internal systems and page rendering logic; so there are no guarantees as to how long these DZone metadata endpoints may remain accessible/unchanged.

Important! I am not endorsing the use of these endpoints by any means; in fact, using them could be a sheer violation of DZone's policies. I am simply sharing my findings. Use at your own risk.

Articles in a DZone newsletter

https://dzone.com/services/widget/sidebar-content-list/DEFAULT?edition={DZone newsletter numeric ID}

Profile details of a DZone user

https://dzone.com/services/widget/users-profile-mini/DEFAULT?user={DZone user numeric ID}

Comments of a DZone post

https://dzone.com/services/widget/content-commentBox/DEFAULT?parent={DZone post numeric ID}

Articles written by a DZone user

https://dzone.com/services/widget/article-listV2/list?author={DZone user numeric ID}&sort=newest

No comments: