Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theinfinity007/whatsmyip
https://github.com/theinfinity007/whatsmyip
express-js ipaddress ipv4-address l node-js
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/theinfinity007/whatsmyip
- Owner: TheInfinity007
- Created: 2020-07-31T16:59:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T19:48:18.000Z (9 months ago)
- Last Synced: 2024-06-17T14:17:05.176Z (7 months ago)
- Topics: express-js, ipaddress, ipv4-address, l, node-js
- Language: HTML
- Homepage: https://carnelian-horn-chord.glitch.me/api/whoami
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API Project: Request Header Parser Microservice for freeCodeCamp
[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-project-headerparser)](https://repl.it/github/freeCodeCamp/boilerplate-project-headerparser)
### User stories:
1. I can get the IP address, preferred languages (from header `Accept-Language`) and system infos (from header `User-Agent`) for my device.#### Example usage:
* [base_url]/api/whoami#### Example output:
* `{"ipaddress":"159.20.14.100","language":"en-US,en;q=0.5","software":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"}`