ZXDB based Open API

This is the place for general discussion and updates about the ZXDB Database. This forum is not specific to Spectrum Computing.
User avatar
kolbeck
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:04 pm

Re: ZXDB based Open API

Post by kolbeck » Fri Mar 23, 2018 8:53 pm

IMPORTANT:

For now the API is https only, let me know if that's a problem.

/Thomas
0 x
https://zxinfo.dk - another ZXDB frontend
https://api.zxinfo.dk/doc/ - ZXDB API for developers

User avatar
Einar Saukas
Manic Miner
Posts: 443
Joined: Wed Nov 15, 2017 2:48 pm

Re: ZXDB based Open API

Post by Einar Saukas » Sat Mar 24, 2018 3:29 am

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:

Image

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
2 x

User avatar
kolbeck
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:04 pm

Re: ZXDB based Open API

Post by kolbeck » Sat Mar 24, 2018 9:11 am

Thank you @Einar Saukas - 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
2 x
https://zxinfo.dk - another ZXDB frontend
https://api.zxinfo.dk/doc/ - ZXDB API for developers

User avatar
kolbeck
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:04 pm

Re: ZXDB based Open API

Post by kolbeck » Wed Mar 28, 2018 7:54 am

Hello

The ZXInfo API has been updated to latest ZXDB as of March 28th.
0 x
https://zxinfo.dk - another ZXDB frontend
https://api.zxinfo.dk/doc/ - ZXDB API for developers

User avatar
Einar Saukas
Manic Miner
Posts: 443
Joined: Wed Nov 15, 2017 2:48 pm

Re: ZXDB based Open API

Post by Einar Saukas » Wed Mar 28, 2018 11:23 am

That's fast! Thank you!
0 x

User avatar
kolbeck
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:04 pm

Re: ZXDB based Open API

Post by kolbeck » Thu Mar 29, 2018 11:48 pm

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 8-)
/Thomas
2 x
https://zxinfo.dk - another ZXDB frontend
https://api.zxinfo.dk/doc/ - ZXDB API for developers

User avatar
Einar Saukas
Manic Miner
Posts: 443
Joined: Wed Nov 15, 2017 2:48 pm

Re: ZXDB based Open API

Post by Einar Saukas » Fri Mar 30, 2018 9:57 pm

Awesome! :)
0 x

User avatar
druellan
Microbot
Posts: 123
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: ZXDB based Open API

Post by druellan » Tue Apr 03, 2018 6:28 pm

This is awesome! Thanks both of you for making this possible :D

Image
0 x
Y un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

User avatar
kolbeck
Berk
Posts: 45
Joined: Mon Nov 13, 2017 9:04 pm

Re: ZXDB based Open API

Post by kolbeck » Thu Apr 05, 2018 8:11 pm

API updated to ZXDB as per. 5th. April 2018 :-)
0 x
https://zxinfo.dk - another ZXDB frontend
https://api.zxinfo.dk/doc/ - ZXDB API for developers

User avatar
druellan
Microbot
Posts: 123
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: ZXDB based Open API

Post by druellan » Sat May 19, 2018 1: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!
0 x
Y un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

Post Reply