TwitterApiKit

Additional

Language
Kotlin
Version
1.1.4 (Mar 6, 2022)
Created
Oct 27, 2021
Updated
Mar 6, 2022 (Retired)
Owner
Kojo Fosu Bempa Edue (kojofosu)
Contributor
Kojo Fosu Bempa Edue (kojofosu)
1
Activity
Badge
Generate
Download
Source code

TwitterApiKit

✔️ This library is featured on the Official Twitter Api Documentation Page and is still in development!

Twitter's API v2 Objectified. This will save you time from creating data objects to access twitter's API v2. This library is supported on Gradle, Maven, Java, Kotlin, and Android projects.

NOTE : Twitter's API v2 is fairly new and keeps changing, so this library may also change to stay updated with the new changes made by the Twitter team. To contribute, you can fork this repo and make a pull request after.

Objects Tested and Ready

  • Spaces
  • Tweets
  • Users
  • List
  • Poll
  • Media
  • Place

Setup

Gradle

Step 1: Add the Jitpack repository to your build file. Add it in your root build.gradle at the end of repositories.

allprojects {
   repositories {
      //omitted for brevvity
      maven { url 'https://jitpack.io' }
   }
}

Step 2: Add the dependency

dependencies {
    implementation 'com.github.kojofosu:TwitterApiKit:${twitterapikit.version}'
} 

Maven

Step 1: Add the Jitpack repository to your pom file.

<repositories>
   <repository>
       <id>jitpack.io</id>
       <url>https://jitpack.io</url>
   </repository>
</repositories>

Step 2: Add the dependency

<dependency>
    <groupId>com.github.kojofosu</groupId>
    <artifactId>TwitterApiKit</artifactId>
    <version>${twitterapikit.version}</version>
</dependency>

That's it! Now you can intialize object models and use them.

???? Documentation

LICENSE

   Copyright 2021 KOJO FOSU BEMPA EDUE

   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 at

       http://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.