https://github.com/rk0cc/jpubdev
Parse API result from pub.dev or other pub repository server information into Java object
https://github.com/rk0cc/jpubdev
java pub-dev
Last synced: 4 months ago
JSON representation
Parse API result from pub.dev or other pub repository server information into Java object
- Host: GitHub
- URL: https://github.com/rk0cc/jpubdev
- Owner: rk0cc
- License: bsd-3-clause
- Created: 2022-01-20T13:08:56.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T11:56:54.000Z (almost 4 years ago)
- Last Synced: 2025-03-06T15:19:47.148Z (11 months ago)
- Topics: java, pub-dev
- Language: Java
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# [pub.dev](https://pub.dev) REST API implementation in Java
[](https://github.com/Project-Will-Pub/jpubdev/actions/workflows/test.yml)
[](https://github.com/Project-Will-Pub/jpubdev/actions/workflows/codeql.yml)
[](https://search.maven.org/search?q=g:%22xyz.rk0cc.willpub%22%20AND%20a:%22jpubdev%22)
This package aims to parse API result from pub.dev or other pub repository server information into
Java object.
This repository is "reverse engineering" [pub_api_client's](https://github.com/leoafarias/pub_api_client) feature to Java which written in Dart originally with different
structures.
## Supported feature
* Search package
* Supported sort with different method
* Fetch package's information
* Released versions
* Options
* Pub score and analystic report
## User Agents
JPubdev has it's own user agents which following with this format:
```text
jpubdev/[jpubdev's version] (JRE [Java version])
```
And the table for square bracket:
| Square bracket label | Meaning | Sample |
|:---:|:---|:---:|
|jpubdev's version|JPubdev's version (Unchanged when new patch version released)|`jpubdev:1.0.0` > `1.0.0`
`jpubdev:1.0.3` > `1.0.0`
`jpubdev:1.2.0` > `1.2.0`|
|Java version|Java version uses for running jpubdev| `17`
`17.0.1`|
## Install
**Maven POM**
```xml
xyz.rk0cc.willpub
jpubdev
1.0.3
```
* this package is bundled jpubspec 1.2.2
## Setup requirement
* Maven 3
* JDK 17 or higher
## License
BSD 3