ZXDB based Open API
Moderator: druellan
Re: ZXDB based Open API
Hi
Website and API updated to latest ZXDB (Feb 03 - 2019)
API now returns additional prices, if available, on each release - as a result of internal re-structuring of ZXDB on prices.
/Thomas
Website and API updated to latest ZXDB (Feb 03 - 2019)
API now returns additional prices, if available, on each release - as a result of internal re-structuring of ZXDB on prices.
/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: 3143
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
Re: ZXDB based Open API
It’s a known issue- I’m working on it
/T
/T
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
[mention]druellan[/mention] - images should be working again
/T
/T
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
ZXDB Open API updated to 25.02.2019 release.
The ZXDB contains some internal changes which affects the output from the API.
- Mod of / inspired by is now NxN relations, which means the "mod_of" property now is returned as an array.
The "relationtype" is added to the output, taken directly from ZXDB (can be "Mod of" or "Inspired by"), will by next release replace the "is_mod" property, used in the old ZXDB structure.
/Thomas
The ZXDB contains some internal changes which affects the output from the API.
- Mod of / inspired by is now NxN relations, which means the "mod_of" property now is returned as an array.
Code: Select all
"mod_of": [
{
"id": "0003899",
"is_mod": 1,
"type": "Mod from",
"title": "Project Future",
"publisher": "Micromania",
"machinetype": "ZX-Spectrum 48K"
},
{
"id": "0009408",
"is_mod": 1,
"type": "Mod from",
"title": "Sabre Wulf",
"publisher": "Ultimate Play The Game",
"machinetype": "ZX-Spectrum 48K"
}
]
/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
ZXDB Open API v1.5.0 has just been released.
https://api.zxinfo.dk/doc/
Added 'tiny' outputmode, containing the following properties:
/T
https://api.zxinfo.dk/doc/
Added 'tiny' outputmode, containing the following properties:
- fulltitle
yearofrelease
machinetype
type + subtype (genre)
publisher
additionals (for screens)
- Adventure Game
Arcade Game
Casual Game
Game
Sport Game
Strategy Game
/T
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!
A doubt: I updated the ZX App with Downloads Tab where we can download any software on the external storage of our device.
Old softwares are in the "releases" section where I´m getting the urls.
But new softwares are in the "additionals" section.
How can I know if I have to take url from releases or additionals?
Thank you!
A doubt: I updated the ZX App with Downloads Tab where we can download any software on the external storage of our device.
Old softwares are in the "releases" section where I´m getting the urls.
But new softwares are in the "additionals" section.
How can I know if I have to take url from releases or additionals?
Thank you!
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
[mention]Turrican[/mention] - thanks for the observations
The short explanation is that in old WOS data, each "game release" is linked to a machine type - this is not the case in ZXDB. I guess the reason is that this would require a one-to-many relation and a restructure of the database model. The API used this information to determine if a file has to be in the release part or the additional section.
I've changed the logic, so now the API assumes if the file is on of the known "game" formats. such as tap, tzx, disk image etc. it belongs to the release section, otherwise the additional part. Not perfect - but at least it seems to be working for all my test cases.
So for now, you can assume that the software for an entry is to be found in the release section - otherwise let me know of any cases where this does not apply.
/Thomas
The short explanation is that in old WOS data, each "game release" is linked to a machine type - this is not the case in ZXDB. I guess the reason is that this would require a one-to-many relation and a restructure of the database model. The API used this information to determine if a file has to be in the release part or the additional section.
I've changed the logic, so now the API assumes if the file is on of the known "game" formats. such as tap, tzx, disk image etc. it belongs to the release section, otherwise the additional part. Not perfect - but at least it seems to be working for all my test cases.
So for now, you can assume that the software for an entry is to be found in the release section - otherwise let me know of any cases where this does not apply.
/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
Great!!!
Now we get all downloads.
Thank you very much!
Now we get all downloads.
Thank you very much!
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
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
Great!!
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
- Einar Saukas
- Bugaboo
- Posts: 3143
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
What do you mean?
Instead of file format, it's more reliable to check file type:kolbeck wrote: ↑Mon Mar 04, 2019 7:55 pmI've changed the logic, so now the API assumes if the file is on of the known "game" formats. such as tap, tzx, disk image etc. it belongs to the release section, otherwise the additional part. Not perfect - but at least it seems to be working for all my test cases.
Code: Select all
filetype_id IN (46, 47) OR filetype_id BETWEEN 8 AND 22
Re: ZXDB based Open API
I used the machinetype_id in the downloads table, however it looks like its only valid for the old WOS entries. All new downloads (software) added to ZXDB seems to have machinetype_id set to NULL.
However, it's not a big problem - i will just use your suggested where clause instead
/T
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 [mention]kolbeck[/mention] !
One doubt: I´m getting trouble to get the front inlay image of the cassetes.
Sometimes I get the back inlay, sometimes the inside inlay... because there is no order on images.
Example:
Pit Fighter has the front inlay in the 2nd image:
/zxdb/sinclair/entries/0003742/Pit-Fighter_Back.jpg
/zxdb/sinclair/entries/0003742/Pit-Fighter_Front.jpg
And Out Run is on the first image:
/pub/sinclair/games-inlays/o/OutRun.jpg
/pub/sinclair/games-inlays/o/OutRun_2.jpg
/pub/sinclair/games-inlays/o/OutRun_Inside.jpg
Is there a way where the front inlay is always the first one?
Thanks!
One doubt: I´m getting trouble to get the front inlay image of the cassetes.
Sometimes I get the back inlay, sometimes the inside inlay... because there is no order on images.
Example:
Pit Fighter has the front inlay in the 2nd image:
/zxdb/sinclair/entries/0003742/Pit-Fighter_Back.jpg
/zxdb/sinclair/entries/0003742/Pit-Fighter_Front.jpg
And Out Run is on the first image:
/pub/sinclair/games-inlays/o/OutRun.jpg
/pub/sinclair/games-inlays/o/OutRun_2.jpg
/pub/sinclair/games-inlays/o/OutRun_Inside.jpg
Is there a way where the front inlay is always the first one?
Thanks!
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
Hi,
From what I can see, ZXDB (or old WoS) didn't have detailed information about inlays, either it's an inlay or not. However I think there was something about the filenaming for ZXDB, where the filename indicates the type of inlay. You will see it on the /zxdb/ files, as these are added to ZXDB.
Maybe [mention]Einar Saukas[/mention] has a better idea of how to classify the inlays?
/Thomas
From what I can see, ZXDB (or old WoS) didn't have detailed information about inlays, either it's an inlay or not. However I think there was something about the filenaming for ZXDB, where the filename indicates the type of inlay. You will see it on the /zxdb/ files, as these are added to ZXDB.
Maybe [mention]Einar Saukas[/mention] has a better idea of how to classify the inlays?
/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
A new year - and finally ZXInfo API has been updated with latest ZXDB release
Starting here in 2020 I'm also happy to announce that ZXInfo API got a new client, the multi-machine emulator ZEsarUX has a new Spectrum online game browser using the ZXInfo API to search and query game data. The online browser is availabel from ZEsarUX-8.1 beta 1. Find more information and latest release here: https://github.com/chernandezba/zesarux/releases
This brings the number of official ZXInfo API clients up to 5 - ranging from web sites to android and tv apps - HAPPY NEW YEAR!
Starting here in 2020 I'm also happy to announce that ZXInfo API got a new client, the multi-machine emulator ZEsarUX has a new Spectrum online game browser using the ZXInfo API to search and query game data. The online browser is availabel from ZEsarUX-8.1 beta 1. Find more information and latest release here: https://github.com/chernandezba/zesarux/releases
This brings the number of official ZXInfo API clients up to 5 - ranging from web sites to android and tv apps - HAPPY NEW YEAR!
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
Another update, the ZXInfo API has been updated with latest release of ZXDB (04.03.2020 release).
Ta da...
/Thomas
Ta da...
/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: 3143
- Joined: Wed Nov 15, 2017 2:48 pm
Re: ZXDB based Open API
I forgot to reply about it... This is fantastic!kolbeck wrote: ↑Fri Jan 03, 2020 5:08 pm Starting here in 2020 I'm also happy to announce that ZXInfo API got a new client, the multi-machine emulator ZEsarUX has a new Spectrum online game browser using the ZXInfo API to search and query game data. The online browser is availabel from ZEsarUX-8.1 beta 1. Find more information and latest release here: https://github.com/chernandezba/zesarux/releases
This brings the number of official ZXInfo API clients up to 5 - ranging from web sites to android and tv apps - HAPPY NEW YEAR!
Re: ZXDB based Open API
Hello out there...
Just a small update on the API. As part of my clean up and other maintenance, a few new endpoints have been added to the API.
* metadata - some help to search for the right values
* suggest - a helper for implementing autocomplete and autosuggestion
* graph path - Six degrees of separation between two names
The API documentation has been update, in case you want to try it out. Find it here: https://api.zxinfo.dk/doc/
/Thomas
Just a small update on the API. As part of my clean up and other maintenance, a few new endpoints have been added to the API.
* metadata - some help to search for the right values
* suggest - a helper for implementing autocomplete and autosuggestion
* graph path - Six degrees of separation between two names
The API documentation has been update, in case you want to try it out. Find it here: https://api.zxinfo.dk/doc/
/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 [mention]kolbeck[/mention] .
PM sent!
PM sent!
Creator of ZX App: https://play.google.com/store/apps/deta ... boys.zxapp
Re: ZXDB based Open API
[mention]Turrican[/mention] nothing there, did you press the ‘send’ button?
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
The ZXDB Open API has been updated with latest ZXDB release.
Together with this update, a few new endpoints also found its way. The new endpoints are helpers for implementing autosuggestion/autocomplete:
* suggest (creates suggestions on titles, publisher and authors)
* suggest author (creates suggestions on author only)
* suggest publisher (creates suggestions on publisher only)
Too see them in action, take a look at https://zxinfo.dk
/Thomas
Together with this update, a few new endpoints also found its way. The new endpoints are helpers for implementing autosuggestion/autocomplete:
* suggest (creates suggestions on titles, publisher and authors)
* suggest author (creates suggestions on author only)
* suggest publisher (creates suggestions on publisher only)
Too see them in action, take a look at https://zxinfo.dk
/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
The ZXDB Open API has been updated with latest ZXDB release 14.07.2020
/T
/T
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
I get a 404 on the doc link - https://api.zxinfo.dk/doc/