tais993 / java-osuapiv1 Goto Github PK
View Code? Open in Web Editor NEWWrapper for the v1 of osu api
Wrapper for the v1 of osu api
Introduce a couple of methods:
Certain methods, are to fix issues with generics.
While instead I can just use .<User>map
instead of .map
Not sure how the operator is called ^^
The user might wants to cache certain entities to lower the amount of repeating calls.
Our wrapper takes care of that and caches for them.
This makes caching a lot easier for our users.
Add LocalDateTime getter for the JoinTime
Implement getters for the user's Profile picture, see osu-api-wiki
The basic of the project.
Implement settings, and such, so the user can customize things.
It's inconsistent, the rest doesn't return optionals.
And I personally don't really like optionals
It's just a simpler name, and I'd personally argue better (not so complex)
Blocked by #3
{@link }
usesMaking usage of modules would result in only the API having javadoc, instead of both.
The internal module will just not generate javadoc, and it's also good practice.
Add
To make it clear for the user whenever the method is nullable, not null etc
This results in all method arguments not randomly changing resulting in unexpected behavior.
After some thinking, in most cases it doesn't make sense to just grab the first item.
Instead, I should make sure only 1 items exists, and if only 1 item exists return.
Most of the times, the API returns an array. So just throwing away all the existing items doesn't make sense IMHO.
And such behavior might result in things the user didn't expect
Implement unit testing
See osu's api wiki for more info on how to get a cover image and thumbnail
None of the code currently has documentation.
Add documentation before proceeding on any other issues.
There's multiple kinds of scores, and they all have mutual values.
The different scores:
Scores <- BeatmapScore in code
Best Performance <- BestPerformance in code
Recently Played <- Recently Played in code
List of all mutual fields:
If we create a BaseScore which contains all these fields, we won't have to duplicate a lot of code 3x, which also makes using the scores easier for users.
Make sure all methods marked with @NotNull
validate the argument given, same applies for Range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.