A SINESP API Client that allows you to get information about brazilian vehicles (using their license plate).
sinesp is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "sinesp"
Create a Plate
and get its PlateInformation
using SinespClient().information(for plate:)
:
if let plate = Plate(plate: "ABC-1234") {
SinespClient().information(for: plate) { (information) in
print(information)
}
}
O Sinesp Cidadão é um módulo do Sistema Nacional de Informações de Segurança Pública, Prisionais e sobre Drogas, o Sinesp (Lei 12.681/2012), o qual permite acesso direto pelo cidadão aos serviços da Secretaria Nacional de Segurança Pública do Ministério da Justiça.
"Segurança Pública, dever do Estado, direito e responsabilidade de todos"
- Art. 144 da Constituição Federal de 1988.
I do not take any responsibility for how you use this API or any information you obtain using it.
- The API does not respond to API addresses outside Brazil.
- The API stops responding when too many requests are made.
- No support for missing people and arrest warrants.
- Based on victor-torres's Python sinesp-client
Francesco Perrotti-Garcia, [email protected]
sinesp is available under the MIT license. See the LICENSE file for more info.