Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noppefoxwolf/twitterquery
https://github.com/noppefoxwolf/twitterquery
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/noppefoxwolf/twitterquery
- Owner: noppefoxwolf
- License: mit
- Created: 2017-12-08T13:00:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-08T13:24:00.000Z (almost 7 years ago)
- Last Synced: 2024-05-02T05:46:17.095Z (7 months ago)
- Language: Swift
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TwitterQuery
[![Version](https://img.shields.io/cocoapods/v/TwitterQuery.svg?style=flat)](http://cocoapods.org/pods/TwitterQuery)
[![License](https://img.shields.io/cocoapods/l/TwitterQuery.svg?style=flat)](http://cocoapods.org/pods/TwitterQuery)
[![Platform](https://img.shields.io/cocoapods/p/TwitterQuery.svg?style=flat)](http://cocoapods.org/pods/TwitterQuery)## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
swift4.0
ios8.0~## Installation
TwitterQuery is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'TwitterQuery'
```## Usage
```swift
let q = TwitterQuery(q: "きつね")
.and(q: "かわいい")
.from(screenName: "noppefoxwolf")
.filter(kind: .images, inculde: true)
.lang(code: .ja)
.date(term: Term.until(date: Date()))
.text
print(q)
``````swift
let q = TwitterQuery(q: "きつね")
q.and(q: "かわいい")
q.from(screenName: "noppefoxwolf")
q.filter(kind: .images, inculde: true)
q.lang(code: .ja)
q.date(term: Term.until(date: Date()))
print(q.text)
```## Author
🦊Tomoya Hirano, [email protected]
## License
TwitterQuery is available under the MIT license. See the LICENSE file for more info.