carsxe 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -1
- data/lib/carsxe/carsxe.rb +4 -0
- data/lib/carsxe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11e0f1b190f93ff1e89312f4c1d82bf721a19939482eed4b4707906e209f5ba0
|
|
4
|
+
data.tar.gz: c78902368d5b195bdaeff8595501621c28e253fc4bfb4ba223fb2bccdc6370c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1381d56bb46fad15765feacd6e65e5400bda25ede2c1a5105f4e9963435fc036f4fe85716d3c2c659fb3f18cdca7f1d2aaa3a908ac3b73b79e2880921e310cea
|
|
7
|
+
data.tar.gz: 39e4bf39ab2c22721d735c0a47312964b3dde6208d2c7b65778b4f020a1aa815af83e8417fe5c71f2fdb1909a6562baeefe825b50173021be09dde259be4ca14
|
data/README.md
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
To get started with the CarsXE API, follow these steps:
|
|
12
12
|
|
|
13
13
|
1. **Sign up for a CarsXE account:**
|
|
14
|
-
|
|
15
14
|
- [Register here](https://api.carsxe.com/register)
|
|
16
15
|
- Add a [payment method](https://api.carsxe.com/dashboard/billing#payment-methods) to activate your subscription and get your API key.
|
|
17
16
|
|
|
@@ -283,6 +282,24 @@ obdcode = carsxe.obd_codes_decoder('code' => 'P0115')
|
|
|
283
282
|
|
|
284
283
|
---
|
|
285
284
|
|
|
285
|
+
### `lien_and_theft` – Check for lien and theft records
|
|
286
|
+
|
|
287
|
+
**Required:**
|
|
288
|
+
|
|
289
|
+
- `vin`
|
|
290
|
+
|
|
291
|
+
**Optional:**
|
|
292
|
+
|
|
293
|
+
- None
|
|
294
|
+
|
|
295
|
+
**Example:**
|
|
296
|
+
|
|
297
|
+
```ruby
|
|
298
|
+
lientheft = carsxe.lien_and_theft('vin' => '2C3CDXFG1FH762860')
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
286
303
|
## Notes & Best Practices
|
|
287
304
|
|
|
288
305
|
- **Parameter requirements:** Each endpoint requires specific parameters—see the Required/Optional fields above.
|
data/lib/carsxe/carsxe.rb
CHANGED
|
@@ -83,6 +83,10 @@ module Carsxe
|
|
|
83
83
|
get("obdcodesdecoder", params, Types::OBDCODESDECODER_INPUT)
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
def lien_and_theft(params = {})
|
|
87
|
+
get("v1/lien-theft", params, Types::VIN_INPUT)
|
|
88
|
+
end
|
|
89
|
+
|
|
86
90
|
private
|
|
87
91
|
|
|
88
92
|
# Determine required and optional keys from a param definition hash.
|
data/lib/carsxe/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: carsxe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CarsXE Developer
|
|
8
|
-
- Omar
|
|
8
|
+
- Omar Walied
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 1980-01-02 00:00:00.000000000 Z
|