Code Monkey home page Code Monkey logo

Comments (4)

jenshnielsen avatar jenshnielsen commented on August 17, 2024

The simple solution is to embed a badge from doi as seen here: https://www.altmetric.com/products/altmetric-badges/

API (free/ commercial ) levels are documented here https://www.altmetric.com/products/altmetric-api/

Use of the free API is (sparsely) documented here http://api.altmetric.com/

from orctrix.

jenshnielsen avatar jenshnielsen commented on August 17, 2024

With the free API we can get num tweets, number of news mentions etc but we can't actually get the sources.

from orctrix.

jenshnielsen avatar jenshnielsen commented on August 17, 2024

A free api call gives something like

curl 'http://api.altmetric.com/v1/doi/10.1038/480426a'
{"title":"365 days: 2011 in review.","doi":"10.1038/480426a","pmid":"22193080","tq":["Top 40 countries by the number of scientific papers published. Source","Top 40 countries by the number of scientific papers published.","Top 40 countries by the number of scientific papers published. Source #dataviz: #science","Countries numbers of scientific papers published"],"ads_id":"2011Natur.480..426V","altmetric_jid":"4f6fa62f3cf058f6100082d3","issns":["0028-0836","1744-7933"],"journal":"[email protected]","cohorts":{"sci":322,"doc":57,"com":82,"pub":1902},"context":{"all":{"count":4907871,"mean":5.8349917919618,"rank":159,"pct":99,"higher_than":4907889},"journal":{"count":296,"mean":115.97811525424,"rank":1,"pct":99,"higher_than":295},"similar_age_3m":{"count":237697,"mean":4.4269931593297,"rank":4,"pct":99,"higher_than":237693},"similar_age_journal_3m":{"count":127,"mean":107.44544444444,"rank":1,"pct":99,"higher_than":126}},"type":"news","altmetric_id":502878,"schema":"1.5.4","is_oa":false,"cited_by_fbwalls_count":22,"cited_by_feeds_count":4,"cited_by_gplus_count":33,"cited_by_posts_count":2598,"cited_by_tweeters_count":2363,"cited_by_accounts_count":2422,"last_updated":1458655840,"score":1710.372,"history":{"1y":388.6,"6m":244.3,"3m":139.55,"1m":45.35,"1w":10.5,"6d":10.5,"5d":9.65,"4d":6.1,"3d":6.1,"2d":6.1,"1d":6.1,"at":1710.372},"url":"http://dx.doi.org/10.1038/480426a","added_on":1324491937,"published_on":1324512000,"subjects":["science"],"readers":{"citeulike":"0","mendeley":"51","connotea":"0"},"readers_count":51,"images":{"small":"https://altmetric-badges.a.ssl.fastly.net/?size=64&score=1711&types=btttttfg","medium":"https://altmetric-badges.a.ssl.fastly.net/?size=100&score=1711&types=btttttfg","large":"https://altmetric-badges.a.ssl.fastly.net/?size=180&score=1711&types=btttttfg"},"details_url":"http://www.altmetric.com/details.php?citation_id=502878"}

from orctrix.

jenshnielsen avatar jenshnielsen commented on August 17, 2024
{"title":"365 days: 2011 in review.",
"doi":"10.1038/480426a",
"pmid":"22193080",
"tq":["Top 40 countries by the number of scientific papers published. Source","Top 40 countries by the number of scientific papers published.","Top 40 countries by the number of scientific papers published. Source #dataviz: #science","Countries numbers of scientific papers published"],
"ads_id":"2011Natur.480..426V",
"altmetric_jid":"4f6fa62f3cf058f6100082d3",
"issns":["0028-0836","1744-7933"],
"journal":"[email protected]",
"cohorts":{"sci":322,"doc":57,"com":82,"pub":1902},
"context":{"all":{
"count":4907871,"mean":5.8349917919618,"rank":159,"pct":99,"higher_than":4907889},
"journal":{"count":296,"mean":115.97811525424,"rank":1,"pct":99,"higher_than":295},
"similar_age_3m":{"count":237697,"mean":4.4269931593297,"rank":4,"pct":99,"higher_than":237693},
"similar_age_journal_3m":{"count":127,"mean":107.44544444444,"rank":1,"pct":99,"higher_than":126}
},
"type":"news",
"altmetric_id":502878,
"schema":"1.5.4",
"is_oa":false,
"cited_by_fbwalls_count":22,
"cited_by_feeds_count":4,
"cited_by_gplus_count":33,
"cited_by_posts_count":2598,
"cited_by_tweeters_count":2363,
"cited_by_accounts_count":2422,
"last_updated":1458655840,
"score":1710.372,
"history"{
"1y":388.6,
"6m":244.3,
"3m":139.55,
"1m":45.35,
"1w":10.5,
"6d":10.5,
"5d":9.65,
"4d":6.1,
"3d":6.1,
"2d":6.1,
"1d":6.1,
"at":1710.372},
"url":"http://dx.doi.org/10.1038/480426a",
"added_on":1324491937,
"published_on":1324512000,
"subjects":["science"],
"readers":{
"citeulike":"0",
"mendeley":"51",
"connotea":"0"},
"readers_count":51,
"images":{
"small":"https://altmetric-badges.a.ssl.fastly.net/?size=64&score=1711&types=btttttfg",
"medium":"https://altmetric-badges.a.ssl.fastly.net/?size=100&score=1711&types=btttttfg",
"large":"https://altmetric-badges.a.ssl.fastly.net/?size=180&score=1711&types=btttttfg"},
"details_url":"http://www.altmetric.com/details.php?citation_id=502878"}

from orctrix.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.