Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caseykulm/retroravelry
Retrofit wrapper for the Ravelry API written in Kotlin
https://github.com/caseykulm/retroravelry
android coroutines hacktoberfest java kotlin ravelry-api retrofit2
Last synced: 24 days ago
JSON representation
Retrofit wrapper for the Ravelry API written in Kotlin
- Host: GitHub
- URL: https://github.com/caseykulm/retroravelry
- Owner: caseykulm
- Created: 2017-10-14T16:06:12.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2020-10-17T21:50:25.000Z (about 4 years ago)
- Last Synced: 2024-10-15T23:02:47.475Z (about 1 month ago)
- Topics: android, coroutines, hacktoberfest, java, kotlin, ravelry-api, retrofit2
- Language: Kotlin
- Homepage:
- Size: 3.46 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Retro-Ravelry
[![Maven Central](https://img.shields.io/maven-central/v/com.caseykulm.retroravelry/retroravelry.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.caseykulm.retroravelry%22%20AND%20a:%22retroravelry%22)
Kotlin wrapper for the [Ravelry API][1] using [Retrofit][2] and [Kotlin Coroutines][3].
## Download
With Gradle:
```kotlin
dependencies {
implementation("com.caseykulm.retroravelry:retroravelry:0.11.0")
}
```## License
Copyright 2016 Casey Kulm
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[1]: http://www.ravelry.com/groups/ravelry-api
[2]: https://github.com/square/retrofit
[3]: https://kotlinlang.org/docs/reference/coroutines-overview.html## Setup
1. Get the `secrets.properties` file from 1Password.
2. Add it to the root of the project## Checks
### Quick start
Run the following to mimic what CI is running:
`./.circleci/checks.sh`
Note: Make sure you mark this file executable with `chmod +x ./.circleci/checks.sh`
### More info
We are running our CI on Circle CI with the following checks:
* ktlint
* unit tests
* build a JAR successfully### ktlint
Ktlint may report errors. If it does you can run:
`./gradlew ktlintFormat`
to attempt to fix it. It can fix most things, but sometimes it will tell you that
you need to resolve something by hand.## Browsing API
There is a [ravelry_postman_collection.json](./ravelry_postman_collection.json) file available
at the root of this repo that can be imported into the [Postman](https://www.postman.com/)
application to browse the REST API via a collection. This in turn can be used to generate an
OAuth2 access token which you can use in this project to test your changes.