api that gives all needed pieces for a car from its vin number - api

I'm developing an application and I'm looking for an api that gives all car parts from its vin number
I know it's not going to be for free and it's ok
any suggestions please ? thank you

Don't know if you still need it but in my project I used the United States Department of Transportation's API. It gives informations about the car and it's free to use.
It's more centered around American's Specifications, but there is also a call for Canadian Specifications.
You can also choose the data format you want between XML, CSV and JSON !

Related

VIN decoder api

I know this is not a question to ask here, but we have googled for hours and cannot find what we need.
What we need is a company that has an API that we can use to find information about new vehicles.
We transport new vehicles (europe only) and I have written a recognition based on the VIN number, which works well, but only for 3 brands.
Now we will soon be working for other brands also, so I want to buy this information in stead of developing it ourself again.
What we need is an API where we can drop a VIN number, and it will return us
the brand
the model
the dimensions (height, length and width)
the type of fuell
this is the minimal info than we need.
I need to use this API from a c# project.
The vehicles are for the European market, so sites that return American model names cannot be used here. (nhtsa is not an option because of this)
It does not have to be free, we are willing to pay if not too expensive
Does anybody knows where I need to be for this ?

On-Demand Flight Status | Gate Information not working

using the Java SDK, trying to use the On-Demand Flight Status API will result in following error, if a Gate is specified:
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $[0].flightPoints[0].departure.gate
From the documentation I assume that gate should be a JSONObject with the mainGate attribute, but apparently it has been encoded as a JSONArray in the SDK.
I would be grateful about some feedback on this. Maybe I am doing something wrong?
Thanks!
P.S.
If I may add some suggestions:
Would it be possible to make segments.partnership return the flight number of the operating carrier, if the search is done with a codeshare flight? Currently it seems to just return 0, if a codeshare flight number is entered. (e.g. searching for A37136 will return OA0, instead of OA136). Also, it would be great if segments.partnership was to return all codeshare flight numbers for particular flight, and not only one.
The possibility to access fare rules from Flight Offers would be great as well. I understand that displaying fares between two cities is a feature of the Enterprise API (which I probably am not eligible to use), but it would be great to be able to see data, such as Travel and Sales restrictions like these:
VALID FOR TRAVEL COMMENCING ON/AFTER 20SEP 21 AND ON/BEFORE 10MAR 22.
TICKETS MUST BE ISSUED ON/BEFORE 29SEP 21.
As always, thank you for your work!
Below you can find the answers on the topics mentioned in your questions:
Java SDK - gate info not working
Thanks for the report, we've opened the issue on GitHub where you can track its status.
Flight Fare rules
The fare rules can be found for each flight with the Flight Offers Price API where you would have to add the query parameter include=detailed-fare-rules your URL, such as:
https://test.api.amadeus.com/v1/shopping/flight-offers/pricing?include=detailed-fare-rules
Operating carrier in codeshare flight
Indeed with the specific flight doesn't return properly the operating carrier flight number, however, we tested it with other codeshare flights and it worked fine. It seems that the issue is coming directly from the providers and the data they share.
Return all codeshare flight numbers
This is not possible from the legal point of view, as it means it would expose the partnerships and private business between the airlines.

How can I save or get data about places near me without breaking policies

This is more of a general programming question.
I'm trying to create an app, think of it as a Yelp clone. I have most of it working but I'm missing one important feature. The data of the places around me. For now I'm only focused on food, so I'd like it if I search something like "Pizza", it'd show me all the pizza joints near me.
I was originally planning to use Google Places API. However if you havent heard, they're changing their pricing and lowering the free tier and upping the cost by a huge margin.
There's also the problem of saving the data. One workaround I saw a user suggest was to just keep using Google's API, but every time you make the query, store the data in your own DB as well (I only need address and name and latitude and longitude) so eventually, you'd have what you need in a sense. However I also want to have something like a simple rating system for each place like Yelp, but Google (and all other places like MapBox, Here Maps, etc) states something along the lines of "info from their API should not be stored or cached for more than 24hrs" but it's very broad and not specific.
So what I was planning to do was, call the Google API, grab the 3 info I need (Address, Name, Lat/Lng), add more fields to store the rating, likes, whatever else the user will add. Then store it in my database, but that doesn't seem like a solution now.
So does anyone have any ideas or advice? Or know of a service where I can get the details of all the food places? And if possible, can anyone confirm that storing the Name, Address, Lat&Lng is a violation of their policy since in my eyes, it's public data, but something like the rating that Google provides, or the pictures that Google provides, now that's Google property.
For obtaining places you can use OpenStreetMap, e.g. using Overpass API. Since larger traffic can be expected you should run your own database(s) instead of using the public APIs.
However OSM doesn't contain ratings. So you have to combine this data with some other publicly available rating system.

Vies database split address

I'm using vatlayer API for getting company information by put in the vat number. https://vatlayer.com/documentation
Now I want split address info in the state, zipcode, addressline and address number.
I get the address info: BREDABAAN 13052900 SCHOTEN.
The address number and zipcode stands against each other without spacing. (1305number and 2900 zipcode).
Is there another API for working with the vies database where i can split these information? Or an work around for this bug?
VatLayer don't support the split atm.
I get the address information by:
$("#organisation_address_line_1").val(json.company_address);
Thanks in advance,
There's quite a lot of API's to handle VAT validation but the ones that provide information about the trader essentially all rely on the official API at http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl . It connects directly to the VIES system. Perhaps the values returned there are a bit different: it's worth trying your validation that way as well.
Unfortunately, since VIES does not return structured addresses (except for approximate matches, but only Spain supports them at the moment) and does not specify a common format for the free text addresses, you're going to have to deal with whatever format the country has chosen to provide, which means manual parsing.
I reckon 3rd party wrapping API's could handle guessing the format and splitting the formats on their own but I am not aware of any that would do it.

How can query ALL iTunes store fronts of all countries?

I have an iTunes appID of 9 digits.
When I query itunes with a US store
http://itunes.apple.com/us/app/id508611913
it does not work.
When I try it with a Great Britain (UK) store front
http://itunes.apple.com/gb/app/id508611913
then it works.
If i try it without any country designation, it defaults to US
so it does not find it.
I want to query ALL the countries at once.
Does Apple provide an API that can query across all the countries?
Thanks
The short answer is "no."
Apple does provide an API (http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html) but each query is storefront specific so, as mentioned in the first answer from Stuart, you'll need to cycle through each country.
We also have an API for our clients that may be of interest for you. It's what powers our "Availability Tool" (http://www.georiot.com/availability).