gtr

A Python interface to the Gateway To Research GTR-2 API.


License
CERN-OHL-P-2.0
Install
pip install gtr==0.1.0

Documentation

gtr

https://travis-ci.org/nestauk/gtr.png?branch=master https://coveralls.io/repos/Nesta/gtr/badge.svg?branch=master&service=github:targethttps://coveralls.io/r/Nesta/gtr

A Python interface to the Gateway To Research GTR-2 API. Returns requests.Response objects.

Services

  • Funds examples, api
    • Retrieve a fund by fund id
    • Search for funds by
      • Funded project title
      • Fund amount
      • Funder organisation name
      • Fund type

  • Projects examples, api
    • Retrieve project by project reference
    • Search for projects by
      • Project title
      • Project Abstract

  • Organisation examples, api
    • Retrieve organisation by organisation reference
    • Search for organisations by
      • Organisation name
      • Project title
      • Project abstracts

  • Persons examples, api
    • Search for persons by:
      • First name
      • Family name
      • Other name
      • Organisation name
      • Project titles
      • Project abstracts

  • Outcomes examples, api
    • Search for organisations by:
      • Organisation name
      • Project title
      • Project abstracts

Installation

Get the Code

gtr is available on GitHub.

You can either clone the public repository:

$ git clone git://github.com/nestauk/gtr.git

Download the tarball:

$ curl -OL https://github.com/nestauk/gtr/tarball/master

Or, download the zipball:

$ curl -OL https://github.com/nestauk/gtr/zipball/master

Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:

$ python setup.py install