Yes! You should provide a client library for your API!

E06aa8f63d2a1753a2b352bc1cabbde2?s=47 Daniel Azuma
November 13, 2018

Yes! You should provide a client library for your API!

Presentation by Daniel Azuma at RubyConf 2018. Discusses API client libraries, what they should do, why they are useful, and how they can be created and maintained at scale. More information at http://daniel-azuma.com/rubyconf2018

E06aa8f63d2a1753a2b352bc1cabbde2?s=128

Daniel Azuma

November 13, 2018
Tweet

Transcript

  1. 4.

    API Client Library A Ruby gem providing a nice Ruby

    interface for calling a network API
  2. 5.
  3. 6.
  4. 8.
  5. 9.

    .rb .py .js .go .php .rb .py .js .go .php

    .rb .py .js .go .php .rb .py .js .go .php … … >10 languages >250 services
  6. 12.
  7. 14.
  8. 15.
  9. 16.
  10. 19.
  11. 27.
  12. 28.
  13. 30.
  14. 34.

    log entry send request user app client library logging service

    receive response return log entry send request receive response return
  15. 35.

    queue queue log entries log entries send batch send batch

    user app client library logging service
  16. 38.

    .rb .py .js .go .php .rb .py .js .go .php

    .rb .py .js .go .php .rb .py .js .go .php … … >10 languages >250 services
  17. 46.
  18. 47.
  19. 49.

    .rb

  20. 56.
  21. 59.
  22. 60.

    Choose a spec standard How do I get started? +

    Write an API description Invoke an open source generator
  23. 61.

    Choose a spec standard How do I get started? +

    Write an API description Invoke an open source generator Customize the generator
  24. 64.

    Why to write a client library What should go in

    a client library How to write scalable client libraries
  25. 65.

    Why to write a client library What should go in

    a client library How to write scalable client libraries
  26. 67.

    Yes! You should provide a client library for your API!

    https:/ /daniel-azuma.com/rubyconf2018