2020-11-11 15:44:53 +03:00
# The API Book
2020-12-08 15:48:38 +03:00
This is the working repository for ‘The API’ book written by Sergey Konstantinov ([email ](mailto:twirl-team@yandex.ru ), [Linkedin profile ](https://linkedin.com/in/twirl )).
2020-11-11 15:44:53 +03:00
2020-12-17 16:41:02 +03:00
You may find `.html` , `.epub` or `.pdf` version of the book in the `docs` folder, or read it online.
2020-12-08 15:48:38 +03:00
* In English: [html ](https://twirl.github.io/The-API-Book/docs/API.en.html ), [epub ](https://twirl.github.io/The-API-Book/docs/API.en.epub ), [pdf ](https://twirl.github.io/The-API-Book/docs/API.en.pdf )
* In Russian: [html ](https://twirl.github.io/The-API-Book/docs/API.ru.html ), [epub ](https://twirl.github.io/The-API-Book/docs/API.ru.epub ), [pdf ](https://twirl.github.io/The-API-Book/docs/API.ru.pdf )
2020-12-06 16:53:33 +03:00
2020-12-18 11:26:43 +03:00
Pre-compiled books above comprise clean-copy texts only. Drafts could be found in the `src` folder. Complete new chapter drafts will be published on:
2020-12-17 16:41:02 +03:00
* my [medium ](https://twirl.medium.com/ ) blog in English;
* my [habr ](https://habr.com/ru/users/forgotten/posts/ ) blog in Russian.
I'd appreciate if you share them on reddit, for I personally can't do that: reddit bans me for ‘self-promotion’.
2020-12-18 11:26:43 +03:00
The work is distributed under a Creative Commons Attribution-NonCommercial 4.0 license, meaning in general that you're totally free to use this book in any manner while complying with two rules:
2020-12-06 16:53:33 +03:00
* you're not getting commercial profit from the book;
2020-12-18 11:26:43 +03:00
* you're not forgetting to mention the author properly.
2020-12-06 17:15:35 +03:00
See full license in LICENSE.md file or at [Creative Commons Website ](http://creativecommons.org/licenses/by-nc/4.0/ ).
2020-12-06 16:53:33 +03:00
2021-12-09 22:22:00 +03:00
You might support this work [on Patreon ](https://www.patreon.com/yatwirl ).
2020-12-06 16:53:33 +03:00
## Current State and the Roadmap
2022-01-28 22:48:50 +03:00
Right now Section I (‘API Design’) and Section II (‘Backwards Compatibility’) are finished. The Sections are lacking readable schemes, I'll draw them later.
Section III ‘API as a Product’ will be discussing non-technical issues
* what for the APIs exist;
* monetizing APIs;
* making sure you understand users' needs and collect proper metrics;
* common practices, including AA issues and fraud problems;
* organizing docs portal;
* open source and community.
2020-12-06 16:53:33 +03:00
I also have more distant plans on adding two more subsections to Section I.
* Section Ia ‘JSON HTTP APIs’:
* the REST myth;
* following HTTP spec, including those parts where you should not follow the spec;
* best practices;
* Section Ib ‘SDK Design’ covering more tricky issues of having proving UI alongside the API (no specific plan right now)
## Translation
2021-01-03 21:11:03 +03:00
I am translating new chapters into English at the moment they're ready. I'm not a native speaker, so feel free to correct my grammar.
2020-12-06 16:53:33 +03:00
## Contributing
2020-12-29 16:03:19 +03:00
I am accepting inquiries. Feel free to open issues.
2020-12-06 17:15:35 +03:00
2020-12-18 11:26:43 +03:00
I am NOT accepting pull requests introducing any new content, since I'm willing to be the only author. I would gratefully accept typo fixes, though.
2020-12-11 19:15:04 +03:00
2022-01-28 23:04:46 +03:00
Thanks [art.mari.ka ](https://www.instagram.com/art.mari.ka/ ) for the illustration & inspiration
2020-12-11 19:15:04 +03:00
Thanks @tholman for https://github.com/tholman/github-corners
2022-01-28 22:48:50 +03:00
Thanks [Ira Gorelik ](https://pixabay.com/users/igorelick-680927/ ) for the Aqueduct
Thanks [ParaType ](https://www.paratype.ru/ ) for PT Sans and PT Serif
Thanks [Christian Robertson ](https://twitter.com/cr64 ) for Roboto Mono