https://github.com/gr2m/uscis-service-center-processing-times
Get processing time for one or all USCIS service centers
https://github.com/gr2m/uscis-service-center-processing-times
Last synced: about 1 year ago
JSON representation
Get processing time for one or all USCIS service centers
- Host: GitHub
- URL: https://github.com/gr2m/uscis-service-center-processing-times
- Owner: gr2m
- License: apache-2.0
- Created: 2018-01-27T00:11:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T06:49:43.000Z (over 5 years ago)
- Last Synced: 2024-04-22T13:23:29.043Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://egov.uscis.gov/cris/processTimesDisplayInit.do
- Size: 27.3 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# uscis-service-center-processing-times
> Get processing time for one or all USCIS service centers
[](https://travis-ci.org/gr2m/uscis-service-center-processing-times)
[](https://greenkeeper.io/)
| ID | Name | Last update |
|------|---------------------------------| --------------- |
| 990 | VSC - Vermont Service Center | March 19, 2018 |
| 991 | CSC - California Service Center | March 19, 2018 |
| 992 | NSC - Nebraska Service Center | March 19, 2018 |
| 993 | TSC - Texas Service Center | March 19, 2018 |
| 1031 | YSC - Potomac Service Center | March 19, 2018 |
## Usage as CLI
Requires: [latest Node LTS](https://nodejs.org/en/)
Load all service centers
```js
npx uscis-service-center-processing-times
```
Load single service center by passing center ID
```js
npx uscis-service-center-processing-times 992
```
## Usage with Node
Install with `npm install uscis-service-center-processing-times`
```js
const getServiceCenterProcessingTimes = require('uscis-service-center-processing-times')
// get all
getServiceCenterProcessingTimes()
.then(result => {
// {
// "990": {
// "shortName": "VSC",
// "longName": "Vermont Service Center",
// "lastUpdated": "January 5, 2018",
// "processingTimes": {
// "I-102": {
// "Initial issuance or replacement of a Form I-94": "April 24, 2017"
// },
// ...
// }
// },
// ...
// }
})
.catch(console.log)
// get one
getServiceCenterProcessingTimes({id: 990})
.then(result => {
// {
// "shortName": "VSC",
// "longName": "Vermont Service Center",
// "lastUpdated": "January 5, 2018",
// "processingTimes": {
// "I-102": {
// "Initial issuance or replacement of a Form I-94": "April 24, 2017"
// },
// ...
// }
// }
})
.catch(console.log)
```
### License
[Apache 2.0](LICENSE.md)