Skip to content
No description, website, or topics provided.
Python CSS Shell HTML
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Jenkinsfile
LICENCE.txt
README.md
canary.sh
elife.cfg
install.sh
jenkins.sh
manage.sh
requirements.txt
test.sh

README.md

elife-api

An effort by eLife Sciences to centralize programmatic article data access to a simple interface accessible using HTTP.

This project uses the Python programming language, and the Django web framework.

Github repo.

API documentation can be found here:

For example, the Homo Naledi article:

installation

code

git clone https://github.com/elifesciences/elife-api
cd elife-api
./install.sh

updating

code

./install.sh

testing

code

./test.sh

running

code

./manage.sh runserver
firefox http://127.0.0.1:8000/api/docs/

proxied APIs

The elife-api project in production at eLife also proxies requests to the APIs of our other services. These other services can be accessed like: http://api.elifesciences.org/proxy/{servicename}/api/...

For example, here you can access the metrics data used on the elifesciences.org website for the article on the famous Homo Naledi:

http://api.elifesciences.org/proxy/metrics/api/v1/article/10.7554/eLife.09560/

And here the article data:

http://api.elifesciences.org/proxy/lax/api/v1/article/10.7554/eLife.09560/

Copyright & Licence

Copyright 2016 eLife Sciences. Licensed under the GPLv3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

You can’t perform that action at this time.