From 4492c209ca31313de1ea499c933cc30930aec7c0 Mon Sep 17 00:00:00 2001 From: Ian Barber Date: Thu, 6 Dec 2012 16:44:28 +0000 Subject: [PATCH] Update README extension --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eefcfe8..09af099 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,21 @@ -# gapi +clj-gapi +========== A simple client for Google web service APIs that are described by the discovery document API. See https://developers.google.com/console for a full list of APIs that can be addressed by this. Ensure that a console project has been created for any access you wish to do! -## Usage +Usage +------------------------- -### Quick Start +Quick Start +------------------------- For very simple API access, you can make an immediate call - in this case to the Google+ API. (def auth (gapi.auth/create-auth "YOUR_API_KEY")) (im "plus.activities/search" auth {"query" "clojure"}) -### Other Usage +Other Usage +------------------------- To list the available APIs and version, you can query the discovery document: @@ -58,7 +62,8 @@ We can write as well. For example, here we can use the URL shortener API (which (def result (call service "urlshortener.url/insert {} {"longUrl" "http://clojure.org"})) (pprint result) -## License +License +------------------------- Copyright (C) 2012 Google