Code Monkey home page Code Monkey logo

OpenCars

CircleCI Go Report Card

Overview

RESTful API with information about transport just using Ukrainian License Plate.

Server

Download PostgreSQL dump before starting the server. NOTE: This file is pretty big (3.1 GB)

$ gsutil cp gs://opencars/cars.sql cars.sql

Import database to PostgreSQL

$ cat cars.sql | psql -U postgres

Run the server

$ go run cmd/server/main.go

API

$ http localhost:8080/transport?number="АА9359РС"
[
  {
    "address": "8036600000",
    "body": "УНІВЕРСАЛ-B",
    "brand": "TESLA",
    "capacity": 0,
    "color": "ЧОРНИЙ",
    "date": "05.06.2019",
    "description": "ПЕРЕРЕЄСТРАЦIЯ У ЗВ`ЯЗКУ ЗI ЗМIНОЮ АНКЕТНИХ ДАНИХ ВЛАСНИКА",
    "fuel": "ЕЛЕКТРО",
    "kind": "ЛЕГКОВИЙ",
    "model": "MODEL X",
    "number": "АА9359РС",
    "office_id": 12290,
    "office_name": "ТСЦ 8041",
    "operation": 340,
    "person": "P",
    "purpose": "ЗАГАЛЬНИЙ",
    "weight": 2485,
    "year": 2016,
    "vin": "5YJXCCE40GF010543"
  }
]

For more information see documentation.

Parser

Parse CSV files from data.gov.ua into one SQL dump.

$ go run cmd/parser/main.go -path=<PATH> # Path to CSV file

Data

All information was taken from official Ukrainian resource

License

Project released under the terms of the MIT license.

OpenCars's Projects

alpr icon alpr

:camera: Golang web server for vehicle number plates recognition

auth icon auth

:shield: Authentication service

bot icon bot

:blue_car: Telegram bot for vehicle search

core icon core

:man_technologist: Shared domain logic for clients

dashboard icon dashboard

:bar_chart: Python code for grafana dashboard

docs icon docs

:memo: Documentation for the OpenCars API

edrmvs icon edrmvs

:bookmark_tabs: Tool for extracting data from the web portal

emblems icon emblems

:art: Emblems provider for vehicle manufacturers

govdata icon govdata

:office: Golang client for Official Government Data Portal

koatuu icon koatuu

:world_map: Classification of objects of the administrative-territorial system of Ukraine

opencars icon opencars

[DEPRECATED] High speed vehicle API & Data Parsing Tool

operations icon operations

:cloud: Automated tool for parsing vehicle operations

seedwork icon seedwork

:seedling: Reusable base classes and interfaces for your domain model

statsd icon statsd

:chart_with_downwards_trend: Tool for collection usage statistics from NATS

toolkit icon toolkit

:mag_right: Software development kit for opencars API

translit icon translit

:man_teacher: Transliterate text from/to cyrillic

wanted icon wanted

:female_detective: Automated parsing of wanted transport & API

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.