Skip to content

Commit

Permalink
Merge branch 'release/0.5.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 committed Jul 7, 2021
2 parents 66e4dbd + ccd26e1 commit f3938a7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.0
```
python3 -m pip install thothlibrary==0.4

```python
from thothlibrary import ThothClient

thoth = ThothClient()
all_works = thoth.works()
print(all_works)
```

2 changes: 1 addition & 1 deletion thothlibrary/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""GraphQL client for Thoth"""

__version__ = "0.4.0"
__version__ = "0.5.0"
__author__ = "Javier Arias <[email protected]>"
__copyright__ = "Copyright (c) 2020 Open Book Publishers"
__license__ = "Apache 2.0"
Expand Down
4 changes: 3 additions & 1 deletion thothlibrary/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ class ThothQuery():
"generalNote",
"toc",
"coverUrl",
"coverCaption"
"coverCaption",
"publications { isbn publicationType }",
"contributions { fullName contributionType mainContribution }"
]
}
}
Expand Down

0 comments on commit f3938a7

Please sign in to comment.