CBIIT/nci-webtools-cancer-terms-api

Name: nci-webtools-cancer-terms-api

Owner: NCI CBIIT Development Sandbox

Description: RESTful service for glossary of cancer terms

Created: 2016-02-18 14:05:24.0

Updated: 2016-08-29 19:21:26.0

Pushed: 2016-09-26 21:01:12.0

Homepage:

Size: 22104

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RESTful service for glossary of cancer terms Usage:
f match type is not specified, 'exact' will be used
http://analysistools-dev.nci.nih.gov/CancerTerms/<id|term|definition>/<begins_with|contains|matches>/<query>
Examples:
earch for 'cancer' - exact matches only
http://analysistools-dev.nci.nih.gov/CancerTerms/cancer

earch by cdr id: CDR0000045333
http://analysistools-dev.nci.nih.gov/CancerTerms/id/CDR0000045333

earch for terms that contain 'cancer' as a part of their names
http://analysistools-dev.nci.nih.gov/CancerTerms/term/contains/cancer

earch for terms with definitions that contain 'cancer'
http://analysistools-dev.nci.nih.gov/CancerTerms/definition/contains/cancer
Examples using jQuery:
t('http://analysistools-dev.nci.nih.gov/CancerTerms/id/CDR0000045333', console.log)
t('http://analysistools-dev.nci.nih.gov/CancerTerms/term/cancer', console.log)
t('http://analysistools-dev.nci.nih.gov/CancerTerms/term/cancer vaccine', console.log)
t('http://analysistools-dev.nci.nih.gov/CancerTerms/definition/contains/cancer', console.log)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.