Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 3 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.2%) to scientific vocabulary
Repository
Altmetric API v1 wrapper for Python
Basic Info
- Host: GitHub
- Owner: lnielsen
- License: other
- Language: Python
- Default Branch: master
- Size: 117 KB
Statistics
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Altmetric
Altmetric is a Python wrapper for Altmetric API v1 http://api.altmetric.com/.
Installation
pip install altmetric
Usage
Fetching details by identifiers
```python from altmetric import Altmetric a = Altmetric() a.id("108989") a.doi("10.1126/science.1173146") a.ads("2009sci...325..578w") a.arxiv("1212.4819") a.pmid("19644114")
a = Altmetric("youapikey") a.fetch("doi","10.1126/science.1173146") ```
Querying the database
python
from altmetric import Altmetric
a = Altmetric()
a.citations('1d')
a.citations('1d', page=2)
Catching Errors
python
from altmetric import Altmetric
a = Altmetric()
try:
rsp = a.doi("10.1234/foo")
if rsp is None:
print "DOI not found"
else:
print rsp['altmetric_id']
except AltmetricHTTPException, e:
if e.status_code == 403:
print "You aren't authorized for this call"
elif e.status_code == 420:
print "You are being rate limited"
elif e.status_code == 502:
print "The API version you are using is currently down for maintenance."
elif e.status_code == 404:
print "Invalid API function"
print e.msg
API Reference
Please see http://api.altmetric.com/ for detailed reference on response object and parameters.
Owner
- Name: Lars Holm Nielsen
- Login: lnielsen
- Kind: user
- Location: Geneva, Switzerland
- Company: CERN
- Website: http://www.hankat.dk
- Repositories: 64
- Profile: https://github.com/lnielsen
@inveniosoftware product manager. @zenodo creator. Open (Source|Access|Data|Science) enthusiast.
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lars Holm Nielsen | l****n@c****h | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: almost 2 years ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- requests *
- simplejson *