https://github.com/kadoshita/pushbullet-proxy
PushbulletのWebAPIを叩いてテキストなどを送信するプログラム
https://github.com/kadoshita/pushbullet-proxy
pushbullet
Last synced: about 1 year ago
JSON representation
PushbulletのWebAPIを叩いてテキストなどを送信するプログラム
- Host: GitHub
- URL: https://github.com/kadoshita/pushbullet-proxy
- Owner: kadoshita
- License: mit
- Created: 2020-10-30T12:34:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-19T12:55:20.000Z (about 4 years ago)
- Last Synced: 2025-03-28T21:12:03.011Z (about 1 year ago)
- Topics: pushbullet
- Language: TypeScript
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pushbullet-proxy
PushbulletのWebAPIを叩いてテキストなどを送信するプログラム
# 使い方
## テキストを送る
```sh
$ curl -X POST -H 'Content-Type:application/json' http://localhost:3000/ -d '{"body":"test text","title":"test"}'
```
## URLを送る
```sh
$ curl -X POST -H 'Content-Type:application/json' http://localhost:3000/ -d '{"url":"http://example.com"}'
```
## ファイルを送る
```sh
$ curl -X POST -F file=@example.png http://localhost:3000/file
```