Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-osawa-009/spreadsheetclient
Get the value of a Google spreadsheet file
https://github.com/t-osawa-009/spreadsheetclient
api api-client carthage google pods spreadsheet swift swiftpackagemanager
Last synced: about 7 hours ago
JSON representation
Get the value of a Google spreadsheet file
- Host: GitHub
- URL: https://github.com/t-osawa-009/spreadsheetclient
- Owner: t-osawa-009
- License: mit
- Created: 2019-12-06T13:28:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-14T02:47:46.000Z (about 5 years ago)
- Last Synced: 2024-12-29T02:20:01.124Z (13 days ago)
- Topics: api, api-client, carthage, google, pods, spreadsheet, swift, swiftpackagemanager
- Language: Swift
- Homepage:
- Size: 41 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# SpreadsheetClient
Get the value of a Google spreadsheet file
https://docs.google.com/spreadsheets/d/1zVw1G2LvoJOnnaez3Tuf2Kxqt7S8-zATNazY14FgBwI/edit?usp=sharing```swift
let client = SpreadsheetClient()
client.send(id: "SPREADSHEET_ID", sheetNumber: 1) { (result) in
switch result {
case .success(let value):
print(value)
case .failure(let error):
print(error.localizedDescription)
}
}
```## Requirements
- iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
- Swift 5.1+## Installation
### CocoaPods
```
# Podfile
use_frameworks!target 'YOUR_TARGET_NAME' do
pod 'SpreadsheetClient'
end
``````sh
$ pod install
```### Carthage
```
github "t-osawa-009/SpreadsheetClient"
``````sh
$ carthage update
```### Swift Package Manager
```
dependencies: [
.package(url: "https://github.com/t-osawa-009/SpreadsheetClient.git", from: "0.0.1")
]
```
## Notes
- Your spreadsheet should be "Published" for this to work## CONTRIBUTING
- There's still a lot of work to do here. We would love to see you involved. You can find all the details on how to get started in the [Contributing Guide](https://github.com/t-osawa-009/SpreadsheetClient/blob/master/CONTRIBUTING.md).## License
SpreadsheetClient is released under the MIT license. See LICENSE for details.