Portal:Semantic Web/Open PHACTS API

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
The [http://www.openphacts.org/ Open PHACTS projects] provides an alternative to work with the WikiPathways RDF, as it is loaded in the data cache of Open PHACTS. The [https://dev.openphacts.org/docs Open PHACTS API] provides various queries, like "give me all targets in a pathway". It requires a [https://dev.openphacts.org/signup (free) account] to use this system.
+
The [http://www.openphacts.org/ Open PHACTS projects] API is currently unavailable.
-
 
+
-
For example, to get the pathways in which SLC25A4 is found, you can use curl:
+
-
 
+
-
    curl -X GET --header "Accept: application/json" \
+
-
      "https://beta.openphacts.org/2.1/pathways/byTarget?uri=http%3A%2F%2Fidentifiers.org%2Fncbigene%2F282478&app_id=91f5d4d0&app_key=1af5086da757e57c553bfa1351708d5f"
+
-
 
+
== API clients ==
== API clients ==

Revision as of 10:11, 3 August 2019

The Open PHACTS projects API is currently unavailable.

API clients

Besides interacting with the API end point directly, as with curl in the above example, there are also dedicated Open PHACTS API clients that you can use: