You don't need any HTML knowledge or expertise to download api data & in its simplest form, it can be read in a browser window. For example, my api profile data can be accessed by entering the following URL in the address bar: https://api.chess.com/pub/player/stephen_33
It returns this string in the window ...
{"avatar":"https://images.chesscomfiles.com/uploads/v1/user/6617585.1c02630c.200x200o.59e80012b297.jpeg","player_id":6617585,"@id":"https://api.chess.com/pub/player/stephen_33","url":"https://www.chess.com/member/stephen_33","name":"Stephen Williams","username":"stephen_33","followers":58,"country":"https://api.chess.com/pub/country/XW","location":"Swansea","last_online":1525217593,"joined":1328406309,"status":"premium"}
Replace your own username in the URL & you can see your own data.
I've recently been modifying a script I wrote some time ago in Python which helps me assemble the draws in the TMCL competition, in order to fetch members' avatar-image URL's directly from the site, instead of having to maintain a separate file of them.
I'm not familiar with Java though, so you probably need help from one of the guys who codes for a living. My interest in coding is strictly hobby!
Whats up my PEOPLE. I suck at web development. I know Java and SQLITE but nothing more. I have basic HTML knowledge which I think has little to nothing to do with the API.
Anyways, first I have some basic questions to set my mind and then I will ask the specific one.
1- JSON is what is used to provide the text that you get when you type a certain "URL pattern"?
2- What exactly do you guys mean when you say endpoint, the result from the "query"?
3- I guess your programs execute the "URL patterns" provided by chess.com gather the response and format it to meet your needs, right?
4- How do you format it and if I wanted to use Java, is there any library you guys know of that I could use to connect with the API?
Finally, I was told by a chess.com god, aka developer that I can gather almost real time PGNs with the API. I went trough the whole document and I either suck at reading documentation or couldnt find how to do it. Can anyone enlighten me on how to?