Api Usage
public
json
|
#
search( )
Api
Use GET method to access this route
Returns
json
objects Author
Metamorphosis
LinkParams
q (search term)
Params
lang ('sq', 'mk', 'en') default en
Params
sources OPTIONAL (source_name = id) example Alsat+M=13 @see http://timemachine.truthmeter.mk/api/v1/getSources
Params
sm OPTIONAL (when searching multiple keywords add sm=1 to use OR) ommit this to use AND in the query
Params
X-Authorization (Api key)
Example1
http://timemachine.truthmeter.mk/api/v1/search?X-Authorization=418e701c797a96b7fd7d3c2b3458555d2d2473dd&lang=sq&q=vmro
Example2
http://timemachine.truthmeter.mk/api/v1/search?X-Authorization=418e701c797a96b7fd7d3c2b3458555d2d2473dd&lang=sq&q=vmro&Alsat+M=13&TV+Koha=12&sm=1
|
public
json
|
#
getSources( )
Api
Use GET method to access this route
Author
Metamorphosis
LinkParams
lang ('sq', 'mk', 'en') default en
Params
X-Authorization (Api key)
Example
http://timemachine.truthmeter.mk/api/v1/getSources?X-Authorization=418e701c797a96b7fd7d3c2b3458555d2d2473dd&lang=sq
Returns
json
objects |