https://github.com/salteadorneo/generator
Data Generator
https://github.com/salteadorneo/generator
api datagenerator hacktoberfest
Last synced: about 2 months ago
JSON representation
Data Generator
- Host: GitHub
- URL: https://github.com/salteadorneo/generator
- Owner: salteadorneo
- License: mit
- Created: 2024-10-02T17:23:46.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T18:37:53.000Z (7 months ago)
- Last Synced: 2025-03-28T10:21:22.308Z (2 months ago)
- Topics: api, datagenerator, hacktoberfest
- Language: Astro
- Homepage: https://generator.salteadorneo.dev
- Size: 1010 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Data Generator
This is a simple data generator that generates random data for testing purposes.
## Usage
### GET [/api/v1/dni](https://generator.salteadorneo.dev/api/v1/dni)
- `quantity` (optional): The number to generate. Default is 1.
#### Response
```json
["12345678Z"]
```## Endpoints:
| Method | Endpoint | Description | Parameters |
| --- | --- | --- | --- |
| GET | [/api/v1/dni](https://generator.salteadorneo.dev/api/v1/dni) | Generates a random DNI (Documento Nacional de Identidad) number. | `quantity` |
| GET | [/api/v1/nie](https://generator.salteadorneo.dev/api/v1/nie) | Generates a random NIE (Número de Identificación de Extranjero) number. | `quantity` |
| GET | [/api/v1/cif](https://generator.salteadorneo.dev/api/v1/cif) | Generates a random CIF (Código de Identificación Fiscal) number. | `quantity` |
| GET | [/api/v1/password](https://generator.salteadorneo.dev/api/v1/password) | Generates a random password. | `quantity` `length` |
| GET | [/api/v1/plate](https://generator.salteadorneo.dev/api/v1/plate) | Generates a random plate. | `quantity` |
| GET | [/api/v1/iban](https://generator.salteadorneo.dev/api/v1/iban) | Generates a random IBAN (International Bank Account Number). | `quantity` |
| GET | [/api/v1/ss](https://generator.salteadorneo.dev/api/v1/ss) | Generates a random SS (Social Security) number. | `quantity` |
| GET | [/api/v1/card](https://generator.salteadorneo.dev/api/v1/card) | Generates a random card number. | `quantity` |## Parameters
- `quantity` (optional): The number to generate. Default is 1.
- `length` (optional): The length of the password. Default is 16.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
If you want to contribute to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file.