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

Tsk 24. Create API to CITES #3613

Open
amyburness opened this issue Nov 29, 2023 · 10 comments · Fixed by #3726
Open

Tsk 24. Create API to CITES #3613

amyburness opened this issue Nov 29, 2023 · 10 comments · Fixed by #3726
Assignees
Projects

Comments

@amyburness
Copy link
Collaborator

Create API to CITES data to bring down CITES status of species

@amyburness
Copy link
Collaborator Author

@Fanevanjanahary the CITES information is available here https://cites.org/eng/parties/country-profiles/za and the species information is here https://cites.org/eng/app/appendices.php and the checklist is here https://checklist.cites.org

We need to find a way to make an API to get the Cites status eg the appendix the species is in for each species in the FBIS or SANParks BIMS sites.

@helendallas helendallas moved this from ⛔️No Status to 🏃Next Sprint in SANParks May 7, 2024
@helendallas helendallas changed the title Create API to CITES Tsk 24. Create API to CITES May 8, 2024
@dimasciput dimasciput moved this from 🏃Next Sprint to 👩In Progress in SANParks May 15, 2024
@dimasciput dimasciput added the SIZE 5 It will take between half a day and a full day label May 15, 2024
@dimasciput dimasciput added SIZE 8 This is a full day job and removed SIZE 5 It will take between half a day and a full day labels May 15, 2024
@dimasciput dimasciput moved this from 👩In Progress to 🏋️Client to Test in SANParks May 15, 2024
@helendallas
Copy link
Collaborator

Thanks @dimasciput Tow points

Can you include a link to the relevant Cites page on the Taxon Dashboard?

Is it possible to include it in Taxon Management as well like you do for IUCN, plus then also in the Taxon Management filter?

Screenshot 2024-05-16 at 08 33 22

Screenshot 2024-05-16 at 08 42 32

@dimasciput
Copy link
Member

Hi @helendallas

Currently, the implementation of CITES is different from GBIF and IUCN because there are so few species available in CITES. When you open the dashboard, it directly checks CITES, so we don't store anything on our site.

Therefore, adding the filter and the tag will take more time. I need to add a new field to the model and update the script for adding taxa to also fetch CITES data. This will probably take a day.

@dimasciput
Copy link
Member

@helendallas

Also, CITES doesn't provide any links like GBIF or IUCN. It only returns text data. We can probably use Species+ instead. We can use the taxon concept ID from CITES and then get the data there:

For example, Panthera leo: https://speciesplus.net/species#/taxon_concepts/6353/legal

@helendallas
Copy link
Collaborator

THanks, ok so different fish :)

I reckon the link you showed would work.

@helendallas
Copy link
Collaborator

@dimasciput I get an error message on production.

e.g panthera Leo

Screenshot 2024-05-22 at 08 52 59

@dimasciput
Copy link
Member

@helendallas sorry forgot to add the cites key to the production, please try again

@helendallas
Copy link
Collaborator

Great thanks @dimasciput . I am sent link to Dian and Judith for comment

@helendallas
Copy link
Collaborator

helendallas commented May 22, 2024

Cites should be in capital:

CITES = Convention on International Trade in Endangered Species of Wild Fauna and Flora

Screenshot 2024-06-03 at 09 26 25

Also if SANParks want CITES status listed on their checklist (see #3608 ), can it be autopopulated from the api link or will they need to capture manually as an attribute in the taxon management module.

CITES has three categories: Appendix I, II or III.

This is what could be stored in the Taxon Master list/taxon management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
SANParks
🏋️Client to Test
Development

Successfully merging a pull request may close this issue.

3 participants