Latest 1.0.1
Homepage https://github.com/fpg1503/sinesp-swift
License MIT
Platforms ios 8.0
Dependencies Arcane, AEXML, Regex.swift
Authors

CI Status
Version
License
Platform

What is it

A SINESP API Client that allows you to get information about brazilian vehicles (using their license plate).

Installation

sinesp is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "sinesp"

Usage

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)
    }
}

About SINESP (in portuguese)

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.

Full disclaimer

I do not take any responsibility for how you use this API or any information you obtain using it.

Known limitations

  • 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.

Credits

Author

Francesco Perrotti-Garcia, [email protected]

License

sinesp is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "sinesp",
    "version": "1.0.1",
    "summary": "Swift wrapper of SINESP API (Brazilian National Public Security Information System)",
    "description": "A SINESP API Client that allows you to get information about brazilian vehicles (using their license plate).",
    "homepage": "https://github.com/fpg1503/sinesp-swift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Francesco Perrotti-Garcia": "[email protected]"
    },
    "source": {
        "git": "https://github.com/fpg1503/sinesp-swift.git",
        "tag": "1.0.1"
    },
    "social_media_url": "https://twitter.com/fpg1503",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "sinesp/Classes/**/*",
    "dependencies": {
        "Arcane": [],
        "AEXML": [
            "~> 4.0"
        ],
        "Regex.swift": [
            "~> 1.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This