Skip to content
Viktor Malafey edited this page Feb 13, 2016 · 4 revisions

Date of last changes in the database

fields = ['lastchanges']

http://api.rivnefish.com/lastchanges/

Countries

fields = ['name', 'country_id']

http://api.rivnefish.com/countries/ - get all countries

http://api.rivnefish.com/countries/1 - get country with country_id=1

http://api.rivnefish.com/countries/?country_id=1 - the same as above

http://api.rivnefish.com/countries/?name=україна - get country with name україна or Україна

Regions

http://api.rivnefish.com/regions/v - get all regions

http://api.rivnefish.com/regions/13v - get region with region_id=13

Districts

fields = ['district_id']

http://api.rivnefish.com/districs/ - get all districs

http://api.rivnefish.com/districs/13 - get dis. with district_id=13

http://api.rivnefish.com/districs/?district_id=13 - the same as above, needed to delete this field

Fishes

fields = ['eng_name', 'fish_id']

http://api.rivnefish.com/fishes/ - get all fishes

http://api.rivnefish.com/fishes/13 - get fish with fish_id = 13

http://api.rivnefish.com/fishes/?eng_name=Carp - get fish with eng_name = %Carp% or %carp%

http://api.rivnefish.com/fishes/?fish_id=13 - get fish with fish_id=13

Markers

fields = ["distance_higher", "distance_lower", "fishes", "ufishes", "name", "permit", "price", 'boat', 'fish_catch']

http://api.rivnefish.com/markers/?distance_lower=15 - get all merkers with distance to Rivne lower then 15 meters

http://api.rivnefish.com/markers/?distance_higher=1 - get all markers with distance to Rivne higher then 1 meters

http://api.rivnefish.com/markers/?distance_higher=1&distance_lower=15 - get all markers in Range from 1 to 15 meters

http://api.rivnefish.com/markers/?distance_lower=100&distance_higher=1 - get all markers in Range from 1 to 100 meters

http://api.rivnefish.com/markers/?fishes=35,34 - get all markers with fish 35 OR 34

http://api.rivnefish.com/markers/?name=NAME - get all markers that contains NAME

http://api.rivnefish.com/markers/?permit=paid - get all with specific permit from available

http://api.rivnefish.com/markers/?boat=1 - get markers with boat usage True

http://api.rivnefish.com/?fish_catch=9 - get markers with fish catch >=9

http://api.rivnefish.com/markers-fishes/?marker=2 get all fish for marker with marker_id=2

http://api.rivnefish.com/markers/?permit=paid - get all with specific permit from available

http://api.rivnefish.com/markers/?boat=1 - get markers with boat usage True

http://api.rivnefish.com/markers/?fish_catch=10000 - get markers woth fish catch >=10000

ShortMarkers

http://api.rivnefish.com/short/markers/ - same filters as above in Markers

MarkersFishes

fields = ['marker']

http://api.rivnefish.com/markers-fishes/ - get all markers fishes

http://api.rivnefish.com/markers-fishes/13 - get markers_fishes with fish_id = 13

http://api.rivnefish.com/markers-fishes/?marker=5 - get all fishes with marker_id=5