Go to file
Casey 7619aa67be
Apparently Mongoose API changes all the time
2024-04-25 14:46:26 +03:00
.gitignore Added error messages when no RAM lol 2022-09-13 20:22:56 +03:00
Makefile -lpthread duh 2022-09-13 20:20:57 +03:00
README.md Create README.md 2022-09-13 19:32:23 +03:00
main.c Apparently Mongoose API changes all the time 2024-04-25 14:46:26 +03:00
mongoose.c Added mongoose library 2022-09-13 20:19:48 +03:00
mongoose.h Added mongoose library 2022-09-13 20:19:48 +03:00

README.md

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

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 😳 or ResponseIsEven 📊

/isOdd/{number}

Can 🔫💦 be used 🙄😏 to determine 🧐 whether or 🔮💦 not the 👏 number 💦😧 is odd. 🤥😜

Returns: ResponseNotFound or 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.

{
  "odd": true
}

ResponseIsEven

Property even 💁🌃 will be true ☑ if 🚫🤥 {number} 🔢 is even and 👏👏 false 👳 if 👏 {number} is 😳 odd.

{
  "even": true
}

ResponseNotFound

Returns when 😤🕔 the 👩 number wasn't indexed yet. 👌

{
  "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. 📊📊