Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give back taxon names for Named Species slots in /threats route #10

Closed
sckott opened this issue Jun 8, 2016 · 3 comments
Closed

Give back taxon names for Named Species slots in /threats route #10

sckott opened this issue Jun 8, 2016 · 3 comments
Milestone

Comments

@sckott
Copy link
Contributor

sckott commented Jun 8, 2016

An rredlist user pointed out that in the /threats route, at least sometimes when the 'title' key gives back "Named species" it doesn't give the name of the taxon. However, the taxon name appears to be on the web page, e.g.

http://apiv3.iucnredlist.org/api/v3/threats/species/id/62290750?token=

vs.

http://www.iucnredlist.org/details/classify/62290750/0#threats

Emailed IUCN dev about this, they are looking into it

@sckott
Copy link
Contributor Author

sckott commented Oct 14, 2016

still haven't heard back about this. emailed again today to see what's up

@sckott
Copy link
Contributor Author

sckott commented Jan 11, 2017

hmm, seems like might be working now

{
  "code": "8.1.2",
  "title": "Named species (Ammophila arenaria)",
  "timing": "Ongoing",
  "scope": "Minority (<50%)",
  "severity": "Slow, Significant Declines",
  "score": "Low Impact: 5",
  "invasive": "Ammophila arenaria"
}

still need to parse name out though for people

@sckott sckott modified the milestone: v0.3 Jan 11, 2017
sckott added a commit that referenced this issue Jan 11, 2017
@sckott
Copy link
Contributor Author

sckott commented Jan 11, 2017

looks like name is pulled out from the text already when there is a name in the text - so nothing else to be done

@sckott sckott closed this as completed Jan 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant