Delphi Books as open data
Delphi-Books.com is a list of all (the most of) books published about Delphi, Pascal and Object Pascal. Some of the data displayed on our website are available through this API under a CC BY-SA license.
Datas like authors photos, publishers logos, reviewers and reviews, table of contents and descriptions can't be shared because of intellectual property or by choice.
You can use our API for your websites or softwares but you can't distribute the datas to others as a separate product. If you use our API, please make a link to this website in the credits, legal information or on the pages where our datas are displayed. A classic "Power by Delphi-Books.com" with a link to https://delphi-books.com will be great.
How to use the API ?
Our API gives you 3 datasets:
Lists are available as JSON records of objects.
Elements are available as JSON objects.
Each element has an "id". It's the unique key you can use to access it.
Dates are in YYYY-MM-DD format. YYYY for the year, MM for the month (01 to 12), DD for the day (01 to 31).
Sometimes DD is equal to "00". Sometimes DD and MM are equal to "00". Please check them before displaying them.
Books languages are available as 2 letters ISO 3166 code.
If you need to display a flag for each language, you'll find them at https://delphi-books.com/img/flag/XX.png where XX is the language code in lowercase.
Please don't link to our images (covers, photos, logos, etc) except if you use them with our API.
Use the links depending your programming language and its JSON library.
You also can look at our code samples and libraries for PHP, Javascript and Delphi or other repositories on GitHub.
The books
The list of all books in our database is available at https://delphi-books.com/api/b/all.json They are sorted by alphabetical order.
You also can retrieve only books published since a year at https://delphi-books.com/api/b/lastyear.json They are sorted by published date descendant. First is the younger, last is the older.
In this list, each book element has :
- an id,
- a title,
- a link to its delphi-books.com page,
- a link to its cover as thumbnail,
- a language,
- a publication date.
For more datas on a book, you have to call the URL https://delphi-books.com/api/b/ID.json (don't forget to replace "ID" by the book's id).
Each book has :
- an id,
- a title,
- a link to its delphi-books.com page,
- a link to its cover as thumbnail (fixed width at 150px),
- a link to its cover (fixed width at 500px),
- a language,
- a publication date,
- an ISBN10,
- an ISBN13,
- a list of publishers (an array of objects, most of the case only 1 result),
- a list of authors (an array of objects, most of the case only 1 result),
- a list of links to covers in different sizes
- width : 100px, 150px, 200px, 300px, 400px, 500px
- height : 100px, 200px, 300px, 400px, 500px
- square : 100x100px, 200x200px, 300x300px, 400x400px, 500x500px
- other sizes : 130x110px
Published date, ISBN10 and ISBN13 may be empty. Please check them before displaying anything on your website or software.
The author element has :
- an id,
- a name composed by its firstname+name or its pseudonym,
- a link to its Delphi-Books.com page.
The publisher element has :
- an id,
- a label,
- a link to its Delphi-Books.com page.
The authors
The list of all authors is available at https://delphi-books.com/api/a/all.json
Each author in the list has :
- an id,
- a name composed by its firstname+name or its pseudonym,
- a link to its Delphi-Books.com page.
If you want more datas on an author, use https://delphi-books.com/api/a/ID.json where you have to replace "ID" by author's id.
Each author has :
- an id,
- a name composed by its firstname+name or its pseudonym,
- a link to its Delphi-Books.com page,
- a list of its books (an array of objects).
The books in this list have :
- an id,
- a title,
- a link to its delphi-books.com page,
- a link to its cover as thumbnail,
- a language,
- a publication date.
The publishers
Finally you can have a list of publishers by calling https://delphi-books.com/api/p/all.json
Each publisher in the list has:
- an id,
- a label,
- a link to its Delphi-Books.com page.
And if you want the books they publish, call https://delphi-books.com/api/p/ID.json with the publisher's id as ID.
The publishers datas are :
- an id,
- a label,
- a link to its Delphi-Books.com page,
- a list of their published books (an array of objects).
The books in this list have :
- an id,
- a title,
- a link to its delphi-books.com page,
- a link to its cover as thumbnail,
- a language,
- a publication date.