https://github.com/Ueaj-Kerman/PoliticsAndJava
A Simple Politics and War API wrapper for Java
https://github.com/Ueaj-Kerman/PoliticsAndJava
Last synced: 8 months ago
JSON representation
A Simple Politics and War API wrapper for Java
- Host: GitHub
- URL: https://github.com/Ueaj-Kerman/PoliticsAndJava
- Owner: Devan-Kerman
- Created: 2019-02-05T02:38:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-31T13:39:44.000Z (over 7 years ago)
- Last Synced: 2024-12-27T05:25:02.992Z (over 1 year ago)
- Language: Java
- Size: 969 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PoliticsAndJava
A Simple Politics and War API wrapper for Java
## This is a library bent on distancing the user from the raw api
#### 1. Consistant - trying to make it easier on the eyes and logic
- Consistant naming, similar variable names for things that represent the same thing (alex does this fairly well already though)
- Consistant typing, the current api is ok. it's consistant... consistantly bad LOL GOTEM jk no kill plz
#### 2. Documented - am yet to fully do this though
#### 3. Correct - the main focus of the library, Alex's types are quite jank, "1" and "0" as booleans, doubles in strings, etc.
- Date objects rather than strings
- Lots, and lots, of enums :)
- booleans rather than strings ("1" and "0")
- floats/doubles rather than strings ("12.4534")
- fixing other oddities in the api
- uses Gson, and by extention can handle the occassional malformed json that is given
#### 4. Fast - although this layer of type correction does add a delay, it's not significant built in caching is an important part of the library
- This type correction layer does add a noticable delay, but your actual code will end up running faster, for example, string comparison is much slower than floats and enums.
#### 5. Diverse - will probably copy paste some parts of my old wrapper into this one, such as webscraping and other utilities.
#### 6. Easy to use - throwing somewhat usefull exceptions, well, that's what it attempts atleast.
## This library also includes tons and tons of other epic utilities
- Message automation
- Other web automations
- Web scraping
- Hooks