Create README.md

This commit is contained in:
rferee 2022-09-13 19:32:23 +03:00 committed by GitHub
parent 60d9b6cd83
commit a999a42a00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 87 additions and 0 deletions

87
README.md Normal file
View File

@ -0,0 +1,87 @@
# Is Odd API
*This 👈 is 🅱💰 a 🐍 simple API that 🍑 returns 💌 whether 📊📊 a 🔥 number 💦🔢 is 🙈💦 odd 🤥 or 💰 not. ♂ With 👏👼 this 🏽👈 API you 😭💄 can 💁🔫 check ✔ if ❗ a number ❤ is 💦 odd 🤥 or not. 🙅*\
*However, 💯 there's a 💰😾 twist 🔄🔄...*
Implementation in Java (v1.0): [by rferee](https://github.com/rferee/is-odd-api)
## Features 📊
- Even more 😳 blazing 🔥🔥 fast 🏃🏃!
- Even more 🔥 scalable 📈📈!
- Even more 🎨 native 🇺🇸🇺🇸 support 🇺🇸🇺🇸 for 🇺🇸🇺🇸 all 🇺🇸🇺🇸 operating 🇺🇸🇺🇸 systems 🇺🇸🇺🇸!
- More than 🫣 100% 📈📈 uptime 📈📈!
- More than 🫠 100% 💯 vegan 🌱🌱🌱!
*...and 🍑 much 🙈💦 more!*
###### *This description was generated by GitHub Copilot 🤖*
## Requirements 📋
### Example 🤔 System ✊✊ Configuration 🖥
We are performing tests right now.
## Screenshots 📷
Current usage for 👏 `is-odd-api-dev` is: 🗡
To be added
## API Methods 📡
### `/isEven/{number}`
Can be 😱🐝 used to 💦😂 determine 🤔 whether or 🅱 not 🚫♂ the 👏👽 number is 📃 even. 🆗🌃
**Returns:** [`ResponseNotFound`](#responsenotfound) 😳 or [`ResponseIsEven`](#responseiseven) 📊
### `/isOdd/{number}`
Can 🔫💦 be used 🙄😏 to determine 🧐 whether or 🔮💦 not ❌ the 👏 number 💦😧 is odd. 🤥😜
**Returns:** [`ResponseNotFound`](#responsenotfound) or [`ResponseIsOdd`](#responseisodd)
### `/lastEven`
**Returns:** last ⏳ indexed 🔎 even 🎭 number 💦🔢
### `/lastOdd`
**Returns:** last ⏳ indexed 🔎 odd 🤨 number 💦🔢
## API Objects 📦
### `ResponseIsOdd`
Property `odd` 😜 will 📃 be `true` if `{number}` 💦💦 is 😳 odd 😜 and 🗣👏 `false` if 👏 `{number}` is 🙈 even.
```json
{
"odd": true
}
```
### `ResponseIsEven`
Property `even` 💁🌃 will be `true` ⭐☑ if 🚫🤥 `{number}` 🔢 is even and 👏👏 `false` 👳❌ if 👏 `{number}` is 😳 odd.
```json
{
"even": true
}
```
### `ResponseNotFound`
Returns when 😤🕔 the 👩 number wasn't indexed yet. 👌❗
```json
{
"message": "This number is not indexed yet."
}
```
## Liability 📜 and 🍑 Disclaimer 📜
This 👩😬 is 👏 a 😂🤡 joke project. ⬆ We 👧 decided to 💦 rent out 💯 the 🚀🏼 machine 💦 with 😲🙅 more ➕😖 than ⬆😽 a 1 TB of 🐲 RAM 👋 and 96 cores of 🐲 CPU 🖥 to 🍑 index 📊📊 all 🙈💦 numbers 📊📊 from 1 ♂👵 to 🍑 `long` ♂👵 maximum. 📊📊