Horoscope query GraphQL API for Skyraโ
Key Features
@skyra/saelem@skyra/saelemskyra-project/saelemdocker.pkg.github.com/skyra-project/saelem/saelemInstall client side typings from yarnโ or npmโ :
yarn add -D @skyra/saelem
npm install -D @skyra/saelem
import { Query } from '@skyra/saelem';
interface SaelemResponse<K extends keyof Omit<Query, '__typename'>> {
data: Record<K, Omit<Query[K], '__typename'>>;
}
fetch('http://localhost:8284', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
query: `
{
getHoroscope(sunsign: aries) {
prediction
intensity
keywords
mood
rating
date
}
}
`
})
})
.then((res) => res.json() as SaelemResponse<'getHoroscope'>)
.then((json) => console.log(json.data));
Skyra Project is open source and always will be, even if we don't get donations. That said, we know there are amazing people who may still want to donate just to show their appreciation. Thanks you very much in advance!
We accept donations through Patreon, BitCoin, Ethereum, and Litecoin. You can use the buttons below to donate through your method of choice.
| Donate With | QR | Address |
|---|---|---|
| Patreon | ![]() | Click Hereโ |
| PayPal | ![]() | Click Hereโ |
| BitCoin | ![]() | 3JNzCHMTFtxYFWBnVtDM9Tt34zFbKvdwcoโ |
| Ethereum | ![]() | 0xcB5EDB76Bc9E389514F905D9680589004C00190cโ |
| Litecoin | ![]() | MNVT1keYGMfGp7vWmcYjCS8ntU8LNvjnqMโ |
Thanks goes to these wonderful people (emoji keyโ ):
Jeroen Claassensโ ๐ปโ ๐โ ๐โ ๐โ โ ๏ธโ | Antonio Romรกnโ ๐โ | Skyraโ ๐โ | depfu[bot]โ ๐งโ |
This project follows the all-contributorsโ specification. Contributions of any kind welcome!
Content type
Image
Digest
sha256:f9854e19bโฆ
Size
227.9 MB
Last updated
about 4 years ago
docker pull skyrabot/saelem