Git Product home page Git Product logo

the-api-book's Introduction

The API Book

This is the working repository for ‘The API’ book written by Sergey Konstantinov (email, Linkedin profile).

You may find .html, .epub or .pdf version of the book in the docs folder, or read it online.

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:

  • my medium blog in English;
  • my habr 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’.

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:

  • you're not getting commercial profit from the book;
  • you're not forgetting to mention the author properly.

See full license in LICENSE.md file or at Creative Commons Website.

Current State and the Roadmap

Right now Section I (‘API Design’) is finished. The Section is lacking readable schemes, I'll draw them later.

The book will contain two more sections.

  • Section II ‘Backwards Compatibility’ will cover growth issues. Major themes are:
    • major sources of problems leading to backwards compatibility breach;
    • interface decomposing allowing for third-party plugins and switching underlying technologies;
    • structuring public and private parts of your API;
    • versioning policies;
    • common mistakes.
  • Section III ‘API as a Product’ will be discussing non-technical issues:
    • what for the APIs exist;
    • monetizing APIs;
    • making sure your understand users' needs and collect proper metrics;
    • common practices, including AA issues and fraud problems;
    • organizing docs portal;
    • open source and community.

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

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.

Contributing

I am accepting inquiries. Feel free to open issues.

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.

Thanks @tholman for https://github.com/tholman/github-corners

the-api-book's People

Contributors

angryermine avatar cobr123 avatar dreig avatar gitbook-bot avatar lynxknight avatar twirl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.