diff --git a/README.md b/README.md index f9887dd..4f38cb5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,17 @@ Python client for Thoth's GraphQL API [![Build Status](https://travis-ci.org/openbookpublishers/thoth-client.svg?branch=master)](https://travis-ci.org/openbookpublishers/thoth-client) [![Release](https://img.shields.io/github/release/openbookpublishers/thoth-client.svg?colorB=58839b)](https://github.com/openbookpublishers/thoth-client/releases) [![License](https://img.shields.io/github/license/openbookpublishers/thoth-client.svg?colorB=ff0000)](https://github.com/openbookpublishers/thoth-client/blob/master/LICENSE) +## Usage -``` +```sh python3 -m pip install thothlibrary==0.4 ``` + +```python +from thothlibrary import ThothClient + +thoth = ThothClient() +all_works = thoth.works() +print(all_works) +``` +