cvalue13
Well-known member
- Joined
- Aug 17, 2022
- Threads
- 74
- Messages
- 7,153
- Reaction score
- 13,769
- Location
- Austin, TX
- Vehicles
- F150L
- Occupation
- Fun-employed
- Thread starter
- #61
If i understand what you’re saying, my response would be:I wanted to get a Cybertruck production rate that I could use to see what the ramp rate is and was directed (by @cvalue13) to the NHTSA VIN Decoder site. I looked up the Restful APIs on the site and wrote a program to decode VINs sequentially to find where they stop, but after spending a few hours yesterday getting this code working, my calls (either to DecodeVin or to DecodeVinValues) never fail (i.e., they always return HTTP_OK). The one glitch was the 9th position (check bit), so I ran an iteration to check all of them (0-9 plus X). Clearly I am not checking the right field. That, or I am not even using the right API. Can you tell me which API you are using and/or which field you check to tell whether a VIN has actually been produced, because you seem to be able to tell. Of course, you could write your own production rate code and get me off the hook...
the site sends a return that it’s a theoretically valid VIN number in its construction, with one webpage
It responds with a different webpage response, if it’s both a valid VIN and it has in fact been associated with a CyberTruck:
meanwhile you seem to be wanting to reinvent @newwave1331’s wheel a bit here - though I understand if you’re simply wanting the self-confidence in your own ability to replicate
Or I’m just not understanding your post I’m responding to, which is very possible
Sponsored