Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vehiclesdb — official alias of vehicles

This gem is a two-file front door: it depends on vehicles — the Ruby SDK for the VehiclesDB open vehicle dataset — and exposes the identical API under the VehiclesDB constant.

gem "vehiclesdb"
VehiclesDB.find("vw golf")      # => #<Vehicles::Model "Volkswagen Golf">
VehiclesDB.top_models(kind: :motorcycle, country: :th, limit: 5)
VehiclesDB.equal?(Vehicles)     # => true — same module, two names

Why two names? The project is bigger than Ruby: the dataset lives at github.com/vehiclesdb/vehiclesdb and SDKs for other languages follow the vehiclesdb-<language> pattern. If you found the project through that name, this gem takes you to the right place. If you're starting fresh in Ruby, depend on vehicles directly — it's the same thing with the shorter, Rails-idiomatic name.

Docs, features, dataset details: see the vehicles README.

Code MIT · bundled data CC-BY 4.0 (VehiclesDB).

Attribution

The bundled dataset is CC-BY 4.0: visible credit with a link is a condition of the license. The form we request: "Vehicle data by VehiclesDB". Snippets (HTML, Markdown, BibTeX, badge): vehiclesdb.com/attribution. Prefer not to credit? Commercial license.

About

Official alias of the vehicles gem — the VehiclesDB open vehicle dataset for Ruby. gem install vehiclesdb → same API, VehiclesDB constant.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages