ZXDB based Open API
Moderator: druellan
Re: ZXDB based Open API
IMPORTANT:
For now the API is https only, let me know if that's a problem.
/Thomas
For now the API is https only, let me know if that's a problem.
/Thomas
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
This API is awesome!!!
Also it's nice to see how much attention Thomas gives to people's suggestions and how fast he implements them.
This API is already being used by Dario's SpeccyBot, an interactive chat bot for Telegram that allows searching online for Spectrum related information. You can see it in action here:
Unfortunately it's currently available in Spanish only. Hopefully it won't take too long to get an English version... For further information:
https://github.com/druellan/speccybot
Also it's nice to see how much attention Thomas gives to people's suggestions and how fast he implements them.
This API is already being used by Dario's SpeccyBot, an interactive chat bot for Telegram that allows searching online for Spectrum related information. You can see it in action here:
Unfortunately it's currently available in Spanish only. Hopefully it won't take too long to get an English version... For further information:
https://github.com/druellan/speccybot
Re: ZXDB based Open API
Thank you [mention]Einar Saukas[/mention] - part of openness is to pay attention to the users, this case (potentially) all of you.
Let me also inform, that from now on the ZXDB API is hosted on a professional web hosting / datacenter - to ensure top quality performance, stability & availability.
/Thomas
Let me also inform, that from now on the ZXDB API is hosted on a professional web hosting / datacenter - to ensure top quality performance, stability & availability.
/Thomas
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
Re: ZXDB based Open API
Hello
The ZXInfo API has been updated to latest ZXDB as of March 28th.
The ZXInfo API has been updated to latest ZXDB as of March 28th.
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
New beta of ZXDB API has just been released. This version contains WIP of a Magazine focused API
Find more info here: https://api.zxinfo.dk/doc/
TLDR;
Quick examples of use:
List all magazines
https://api.zxinfo.dk/api/zxinfo/v2/mag ... t=name_asc
Show (short)issue info for Sinclair User
https://api.zxinfo.dk/api/zxinfo/v2/mag ... ser/issues
Show full info for issue-id 7 for Sinclair User
https://api.zxinfo.dk/api/zxinfo/v2/mag ... r/issues/7
Show only references in issue-id=7
https://api.zxinfo.dk/api/zxinfo/v2/mag ... references
Show only files in issue-id=7
https://api.zxinfo.dk/api/zxinfo/v2/mag ... es/7/files
Note: issue-id is the internal ZXDB issue-ID and can be found by using the .../issue method.
Better search for magazines is next on the list
/Thomas
Find more info here: https://api.zxinfo.dk/doc/
TLDR;
Quick examples of use:
List all magazines
https://api.zxinfo.dk/api/zxinfo/v2/mag ... t=name_asc
Show (short)issue info for Sinclair User
https://api.zxinfo.dk/api/zxinfo/v2/mag ... ser/issues
Show full info for issue-id 7 for Sinclair User
https://api.zxinfo.dk/api/zxinfo/v2/mag ... r/issues/7
Show only references in issue-id=7
https://api.zxinfo.dk/api/zxinfo/v2/mag ... references
Show only files in issue-id=7
https://api.zxinfo.dk/api/zxinfo/v2/mag ... es/7/files
Note: issue-id is the internal ZXDB issue-ID and can be found by using the .../issue method.
Better search for magazines is next on the list
/Thomas
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
API updated to ZXDB as per. 5th. April 2018
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
Re: ZXDB based Open API
Hi! Quick question. What's the meaning of the "availability" property?
I thought it was referring to the fact that the game is available (or has permission) to be downloaded.
But if you search for new games using:
https://api.zxinfo.dk/api/zxinfo/v2/sea ... =Available
The list is not the same as using:
https://api.zxinfo.dk/api/zxinfo/v2/sea ... e=SOFTWARE
Not sure if this is a mistake or I'm confused about the meaning of this property.
Thanks!
I thought it was referring to the fact that the game is available (or has permission) to be downloaded.
But if you search for new games using:
https://api.zxinfo.dk/api/zxinfo/v2/sea ... =Available
The list is not the same as using:
https://api.zxinfo.dk/api/zxinfo/v2/sea ... e=SOFTWARE
Not sure if this is a mistake or I'm confused about the meaning of this property.
Thanks!
Re: ZXDB based Open API
The two queries are not the same, first one only search for "SOFTWARE" where availability status is Available, the other one search for any "SOFTWARE.druellan wrote: ↑Sat May 19, 2018 2:19 pm Hi! Quick question. What's the meaning of the "availability" property?
I thought it was referring to the fact that the game is available (or has permission) to be downloaded.
But if you search for new games using:
https://api.zxinfo.dk/api/zxinfo/v2/sea ... =Available
The list is not the same as using:
https://api.zxinfo.dk/api/zxinfo/v2/sea ... e=SOFTWARE
Not sure if this is a mistake or I'm confused about the meaning of this property.
Thanks!
For more info on values for availablity, look at https://github.com/zxdb/ZXDB and in the section: Enumeration tables
/Thomas
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
Re: ZXDB based Open API
HI kolbeck. And yes, exactly, but I think I was not clear enough about the problem. Mind, that is not a problem with your API, but probably something related to data entry. I've added this here because I can't check this information directly.
Let's try this:
This game: https://zxinfo.dk/details/0034299
Is missing the "available" tag, but, is ready for download, so, unless I'm confused about what "available" should indicate, I think it is.
Following that interpretation, If you look at both queries, many games added after "Go Race!" should be available, and are not.
Let's try this:
This game: https://zxinfo.dk/details/0034299
Is missing the "available" tag, but, is ready for download, so, unless I'm confused about what "available" should indicate, I think it is.
Following that interpretation, If you look at both queries, many games added after "Go Race!" should be available, and are not.
Re: ZXDB based Open API
Hi
I vaguely remember this being discusses here before, maybe [mention]Einar Saukas[/mention] can remeber the thread with the discussion of "Availability"?
/Thomas
I vaguely remember this being discusses here before, maybe [mention]Einar Saukas[/mention] can remeber the thread with the discussion of "Availability"?
/Thomas
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
Re: ZXDB based Open API
Hi kolbeck.
Sorry my ignorance but how can I take an image from a link?
For example: "cover_image":"/pub/sinclair/magazines/SinclairUser/Issue001/SUCover001.jpg" ?
Thank you.
Sorry my ignorance but how can I take an image from a link?
For example: "cover_image":"/pub/sinclair/magazines/SinclairUser/Issue001/SUCover001.jpg" ?
Thank you.
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
From ZXDB at GitHub:
Local file links starting with /pub/sinclair/ refer to content previously available at the original WorldOfSpectrum archive. These files are currently accessible from Archive.org mirror at https://archive.org/download/World_of_S ... /sinclair/
Local file links starting with /zxdb/sinclair/ refer to content added afterwards. These files are currently stored at https://spectrumcomputing.co.uk/zxdb/sinclair/
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
Sorry, this property is outdated.
For the most part, it stores the availability status (M.I.A., available or denied) specifically for WoS, at the time Martijn stopped updating it. Afterwards, certain denied titles granted permission to SC, certain available titles revoked permission from WoS, certain M.I.A. titles were recovered and added to ZXDB, etc.
It's not just a matter of updating this information, because distribution permissions apply to specific sites, so this property doesn't make sense for ZXDB as a whole. I will need to reconsider this property later...
Re: ZXDB based Open API
Understood.Einar Saukas wrote: ↑Mon Jun 04, 2018 12:42 am From ZXDB at GitHub:
Local file links starting with /pub/sinclair/ refer to content previously available at the original WorldOfSpectrum archive. These files are currently accessible from Archive.org mirror at https://archive.org/download/World_of_S ... /sinclair/
Local file links starting with /zxdb/sinclair/ refer to content added afterwards. These files are currently stored at https://spectrumcomputing.co.uk/zxdb/sinclair/
I´m making an Android app but with this way I can´t show the cover image of magazines so...
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
Yeah. I can see the problem. I think the only property that might have direct relation to the ZXDB could be a MIA indicator.Einar Saukas wrote: ↑Mon Jun 04, 2018 1:48 amIt's not just a matter of updating this information, because distribution permissions apply to specific sites, so this property doesn't make sense for ZXDB as a whole. I will need to reconsider this property later...
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
Now you just need to apply the rule I described.
For example:
"cover_image":"/pub/sinclair/magazines/SinclairUser/Issue001/SUCover001.jpg"
This file can be found at:
https://archive.org/download/World_of_S ... ver001.jpg
Re: ZXDB based Open API
Ahhhh. Ok. Thanks.Einar Saukas wrote: ↑Tue Jun 05, 2018 3:43 amNow you just need to apply the rule I described.
For example:
"cover_image":"/pub/sinclair/magazines/SinclairUser/Issue001/SUCover001.jpg"
This file can be found at:
https://archive.org/download/World_of_S ... ver001.jpg
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
- Einar Saukas
- Bugaboo
- Posts: 3144
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
Still at dev stage.
Only a single query by Magazine Name yet.
I will implement more features.
Only for Android.
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
Oohh.. just so awesome
Please don't hestistate getting in touch if you need help with the API, suggestions for improvement and all that kind of stuff
/Thomas
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend