RESTful Web APIs
Publisher: O'Reilly Media
Final Release Date: September 2013
Pages: 408

The popularity of REST in recent years has led to tremendous growth in almost-RESTful APIs that don’t include many of the architecture’s benefits. With this practical guide, you’ll learn what it takes to design usable REST APIs that evolve over time. By focusing on solutions that cross a variety of domains, this book shows you how to create powerful and secure applications, using the tools designed for the world’s most successful distributed computing system: the World Wide Web.

You’ll explore the concepts behind REST, learn different strategies for creating hypermedia-based APIs, and then put everything together with a step-by-step guide to designing a RESTful Web API.

  • Examine API design strategies, including the collection pattern and pure hypermedia
  • Understand how hypermedia ties representations together into a coherent API
  • Discover how XMDP and ALPS profile formats can help you meet the Web API "semantic challenge"
  • Learn close to two-dozen standardized hypermedia data formats
  • Apply best practices for using HTTP in API implementations
  • Create Web APIs with the JSON-LD standard and other the Linked Data approaches
  • Understand the CoAP protocol for using REST in embedded systems
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyRESTful Web APIs
 
3.8

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (1)

83%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (5)
  • Accurate (4)
  • Well-written (3)

Cons

    Best Uses

    • Intermediate (5)
    • Novice (3)
      • Reviewer Profile:
      • Developer (5)

    Reviewed by 6 customers

    Sort by

    Displaying reviews 1-6

    Back to top

     
    5.0

    Good reference book

    By Pedro

    from Alicante, Spain

    About Me Developer

    Verified Buyer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly RESTful Web APIs:

      It gives you the whole picture of REST API design.

      (3 of 3 customers found this review helpful)

       
      4.0

      A worthwhile addition to any bookshelf

      By SuperNullSet

      from Reno, NV

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Easy to understand

      Cons

      • Slow Start

      Best Uses

      • Intermediate
      • Reference Book For 14-15

      Comments about oreilly RESTful Web APIs:

      My use case:
      I build APIs for fun and profit, and I have wanted to learn about the whole idea of Hypermedia APIs.

      Pros:
      Well written and quite spanning. I had a blast reading it and was very engaged once I got past the first 25-30%. The author has done a great job of covering the current state of Hypermedia's use in APIs, and I walked away feeling comfortable with what I learned.

      Cons:
      The setup and discussion to even get to the point of talking about Hypermedia API design is about 8 chapters. The first portion of the book can be a little boring for readers who already have an understanding of REST-like apis/semantics.

      Summary:
      Would buy and read again; definetly reccomend it to friends.

      (4 of 4 customers found this review helpful)

       
      5.0

      A Must-Have for API Developers

      By Irakli N.

      from Washington, DC

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly RESTful Web APIs:

        Absolute best book about REST (the way it was supposed to be) and Hypermedia APIs. Amazingly well-written, very approachable both for beginners as well as seasoned API developers.

        A true must-read. There is no excuse to not read this book if you are developing APIs.

        (15 of 15 customers found this review helpful)

         
        4.0

        Good book, mainly for basic users

        By Fabio Alessandro Locati

        from Milan, Italy

        About Me Developer, Sys Admin

        Verified Reviewer

        Pros

        • Accurate
        • Easy to understand
        • Well-written

        Cons

        • Too basic

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly RESTful Web APIs:

        The API are now becoming more used every day. Today every major website provides it's own set of API and often the company websites and services are chosen (or not chosen) based on the availability of API and their design.

        In this huge world that is getting bigger every day, RESTful API plays a huge role, in fact a lot of companies are moving their API to RESTful API since it's easier to use, therefore more attractive for potential clients.

        This book is an average-size book, in fact is a 356 (real) pages long book and features 38 additional pages containing other things like covers, indexes, glossary, etc.

        The book is easy to read thanks to it's simple language and the fact that is split in 13 chapters and 3 appendices (averagely ~22 pages per chapter/appendix).

        One of the good things of this book is the fact that it does not require any specific knowledge acquired before start reading the book. A proof of this approach are the first three chapters that talk more about HTTP and how it works more than RESTful API. This makes the book very good for people that are moving their first steps in the web programming world, while eats up a lot of space for people that are already skilled and are looking for some more complex examples.

        I think the book is a very good resource to learn the basics of RESTful API. I'm not sure that a person that already knows a lot about RESTful API would have a good ROI reading this book.

        Disclaimer: I received a free electronic copy of this book as part of the O'Reilly Blogger Program

        (10 of 10 customers found this review helpful)

         
        4.0

        Good reference book

        By Przemysław

        from Kraków

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Easy to understand

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly RESTful Web APIs:

          In my current project I use JSON heavily as representation when "talking to" servers. I decided to read that book and possibly get some insights how design better APIs.

          First three chapters are reminder how HTTP works, its semantics a protocol and what exactly REST stands for. As an example authors use simple microblog service. Consecutive chapters cover hypermedia, the collection pattern, the design procedure and much more.

          From my perspective the most interesting part (& most useful) were chapter devoted to the collection pattern and discussion about minimising semantic gap. From my developer's point of view: using consistent, well-defined structure for JSON responses can simplify parsing and it's easier to manage.

          What I miss in this book are more complex "real-life" examples. I like academic discussions but I like practical examples more :)

          (7 of 76 customers found this review helpful)

           
          1.0

          Website code is broken

          By gerdi

          from Durban

          Comments about oreilly RESTful Web APIs:

          The book goes through its examples for a site that broken www.youtypeitwepostit.com . Now it would not make to much of a difference if this code was downloadable but it is not. There are nice screen shots of the site when it was working at some point in its history but it is not anymore.

          .. ><

          Displaying reviews 1-6

          Back to top

           
          Buy 2 Get 1 Free Free Shipping Guarantee
          Buying Options
          Immediate Access - Go Digital what's this?
          Ebook: $29.99
          Formats:  DAISY, ePub, Mobi, PDF
          Print & Ebook: $38.49
          Print: $34.99