Difference between revisions of "API/States"

From Open Food Facts wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
Maybe not all states are interesting for final user, allow filter ? Not possible actually.
 
Maybe not all states are interesting for final user, allow filter ? Not possible actually.
 
=== Example ===
 
 
http://api.openfoodfacts.info:8010/v0/states
 
  
 
=== API ===
 
=== API ===
Line 18: Line 14:
 
==== Endpoint ====
 
==== Endpoint ====
  
GET api.openfoodfacts.org/v0/states
+
GET world.openfoodfacts.net/states.json
  
 
==== Parameters ====
 
==== Parameters ====

Latest revision as of 13:31, 15 March 2024

New documentation of the API

States

List of possible states - http://world.openfoodfacts.org/states, see also: State

Maybe not all states are interesting for final user, allow filter ? Not possible actually.

API

Endpoint

GET world.openfoodfacts.net/states.json

Parameters

(none)