Skip to content

Commit

Permalink
Merge pull request #8 from kojofosu/feature/users
Browse files Browse the repository at this point in the history
Features/users
  • Loading branch information
kojofosu authored Feb 12, 2022
2 parents 34c28ed + 14f860d commit 0751d18
Show file tree
Hide file tree
Showing 54 changed files with 1,261 additions and 73 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ Twitter's API v2 Objectified. This will save you time from creating data objects

`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
- [x] Spaces
- [x] Tweets
- [x] 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.
Expand Down Expand Up @@ -52,8 +64,6 @@ That's it! Now you can intialize object models and use them.

### 📙 [Documentation](https://kojofosu.github.io/TwitterApiKit/documentation/dokka/index.html)

### Objects Tested and Ready
- Spaces

## LICENSE
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,28 @@ <h2 class="">Inheritors</h2>
<div></div>
</div>
</div>
<a data-name="400537236%2FInheritors%2F-1086268389" anchor-label="UserListResponse" id="400537236%2FInheritors%2F-1086268389" data-filterable-set="Twitter Api Kit/JVM"></a>
<div class="table-row" data-filterable-current="Twitter Api Kit/JVM" data-filterable-set="Twitter Api Kit/JVM">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../../com.mcdev.twitterapikit.response/-user-list-response/index.html">UserListResponse</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="400537236%2FInheritors%2F-1086268389"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
</div>
</div>
<a data-name="-1510807638%2FInheritors%2F-1086268389" anchor-label="UserSingleResponse" id="-1510807638%2FInheritors%2F-1086268389" data-filterable-set="Twitter Api Kit/JVM"></a>
<div class="table-row" data-filterable-current="Twitter Api Kit/JVM" data-filterable-set="Twitter Api Kit/JVM">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../../com.mcdev.twitterapikit.response/-user-single-response/index.html">UserSingleResponse</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1510807638%2FInheritors%2F-1086268389"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
</div>
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="Twitter Api Kit::com.mcdev.twitterapikit.model/Meta/Meta/#kotlin.Int#kotlin.String?#kotlin.String?#kotlin.String?/PointingToDeclaration//-1086268389">
<div class="main-content" id="content" pageIds="Twitter Api Kit::com.mcdev.twitterapikit.model/Meta/Meta/#kotlin.Int#kotlin.String?#kotlin.String?#kotlin.String?#kotlin.String?/PointingToDeclaration//-1086268389">
<div class="breadcrumbs"><a href="../../../index.html">Twitter Api Kit</a>/<a href="../index.html">com.mcdev.twitterapikit.model</a>/<a href="index.html">Meta</a>/<a href="-meta.html">Meta</a></div>
<div class="cover ">
<h1 class="cover"><span><span>Meta</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable="Twitter Api Kit/JVM"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-meta.html"><span class="token function">Meta</span></a><span class="token punctuation">(</span>resultCount<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span><span class="token constant">0</span><span class="token punctuation">, </span>newestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>oldestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>nextToken<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable="Twitter Api Kit/JVM"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-meta.html"><span class="token function">Meta</span></a><span class="token punctuation">(</span>resultCount<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token operator"> = </span><span class="token constant">0</span><span class="token punctuation">, </span>newestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>oldestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>nextToken<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>previousToken<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="breadcrumbs"><a href="../../../index.html">Twitter Api Kit</a>/<a href="../index.html">com.mcdev.twitterapikit.model</a>/<a href="index.html">Meta</a></div>
<div class="cover ">
<h1 class="cover"><span><span>Meta</span></span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable="Twitter Api Kit/JVM"><div class="symbol monospace"><span class="token keyword">data </span><span class="token keyword">class </span><a href="index.html">Meta</a><span class="token punctuation">(</span>resultCount<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span>newestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>oldestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>nextToken<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable="Twitter Api Kit/JVM"><div class="symbol monospace"><span class="token keyword">data </span><span class="token keyword">class </span><a href="index.html">Meta</a><span class="token punctuation">(</span>resultCount<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span>newestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>oldestId<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>nextToken<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">, </span>previousToken<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Properties">Properties</button></div>
Expand Down Expand Up @@ -77,6 +77,21 @@ <h2 class="">Properties</h2>
</div>
</div>
</div>
<a data-name="1422108324%2FProperties%2F-1086268389" anchor-label="previousToken" id="1422108324%2FProperties%2F-1086268389" data-filterable-set="Twitter Api Kit/JVM"></a>
<div class="table-row" data-filterable-current="Twitter Api Kit/JVM" data-filterable-set="Twitter Api Kit/JVM">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="previous-token.html">previousToken</a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1422108324%2FProperties%2F-1086268389"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable="Twitter Api Kit/JVM"><a data-name="1422108324%2FProperties%2F-1086268389" anchor-label="previousToken" id="1422108324%2FProperties%2F-1086268389" data-filterable-set="Twitter Api Kit/JVM"></a><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation">@</span><span data-unresolved-link="com.google.gson.annotations/SerializedName///PointingToDeclaration/"><span class="token annotation">SerializedName</span></span><span class="token punctuation">(</span><span>value<span class="token operator"> = </span><span class="breakable-word"><span class="token string">&quot;previous_token&quot;</span></span></span><wbr></wbr><span class="token punctuation">)</span></div></div><span class="token keyword"></span><span class="token keyword">var </span><a href="previous-token.html">previousToken</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1475707188%2FProperties%2F-1086268389" anchor-label="resultCount" id="1475707188%2FProperties%2F-1086268389" data-filterable-set="Twitter Api Kit/JVM"></a>
<div class="table-row" data-filterable-current="Twitter Api Kit/JVM" data-filterable-set="Twitter Api Kit/JVM">
<div class="main-subrow keyValue ">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>previousToken</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode")
const savedDarkMode = storage ? JSON.parse(storage) : false
if(savedDarkMode === true){
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}</script>
<script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><link href="../../../styles/prism.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" defer="defer"></script><script type="text/javascript" src="../../../scripts/prism.js" async="async"></script> </head>
<body>
<div class="navigation-wrapper" id="navigation-wrapper">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="library-name"><a href="../../../index.html">Twitter Api Kit</a></div>
<div></div>
<div class="pull-right d-flex"><button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="Twitter Api Kit::com.mcdev.twitterapikit.model/Meta/previousToken/#/PointingToDeclaration//-1086268389">
<div class="breadcrumbs"><a href="../../../index.html">Twitter Api Kit</a>/<a href="../index.html">com.mcdev.twitterapikit.model</a>/<a href="index.html">Meta</a>/<a href="previous-token.html">previousToken</a></div>
<div class="cover ">
<h1 class="cover"><span>previous</span><wbr></wbr><span><span>Token</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable="Twitter Api Kit/JVM"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation">@</span><span data-unresolved-link="com.google.gson.annotations/SerializedName///PointingToDeclaration/"><span class="token annotation">SerializedName</span></span><span class="token punctuation">(</span><span>value<span class="token operator"> = </span><span class="breakable-word"><span class="token string">&quot;previous_token&quot;</span></span></span><wbr></wbr><span class="token punctuation">)</span></div></div><span class="token keyword"></span><span class="token keyword">var </span><a href="previous-token.html">previousToken</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token operator">?</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
</div>
</div>
</body>
</html>

Loading

0 comments on commit 0751d18

Please sign in to comment.