Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myokoym/format-wikiwiki-link
YouTube Data APIで取得した動画URL(videoId, title, publishedAt)をWIKIWIKI用リンクに変換するツールです。(配信日時とずれる場合があるので注意)
https://github.com/myokoym/format-wikiwiki-link
Last synced: 2 days ago
JSON representation
YouTube Data APIで取得した動画URL(videoId, title, publishedAt)をWIKIWIKI用リンクに変換するツールです。(配信日時とずれる場合があるので注意)
- Host: GitHub
- URL: https://github.com/myokoym/format-wikiwiki-link
- Owner: myokoym
- Created: 2022-12-04T14:57:08.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T15:13:05.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T20:55:15.171Z (5 months ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
YouTube動画リンク取得ツール for https://wikiwiki.jp/
## Install
```
git clone https://github.com/myokoym/format-wikiwiki-link.git
cd format-wikiwiki-link
go mod init format-json
```## Usage
```
curl -s "https://www.googleapis.com/youtube/v3/search?channelId=UCDrG8pzkq_cCCLcN5wgrzNw&key=&part=snippet&maxResults=3&fields=nextPageToken,items(id(videoId),snippet(publishedAt,title))&order=date&type=video" | jq . | tee -a result-makoh.json
go run format-json.go result-makoh.json >> result-makoh.txt
```## License
CC0 (Public Domain)