Comments (7)
I updated your TermiWidget iOS btw for SubStats v2
https://github.com/amirsaam/SubCounter-for-Scriptable
from substats.
can you elaborate?
from substats.
as
{"status":200,"data":{"totalSubs":0,"subsInEachSource":{"instagram":0},"failedSources":{"instagram":"Sorry, Substats has been limited by the Instagram API, please try and host Substats on your own Cloudflare Workers account as a workaround."}}}
btw SubStats returns zero for Telegram and Steam Friends too, it worked before but not now.
from substats.
Both routes are working in the latest version btw, check README, I changed a lot of stuff since earlier this year.
from substats.
At least Instagram and Steam Friends should be working, Telegram has always worked for my channel :)
from substats.
ah, I didn't saw the update you merged until a few hours later of my comment.
btw as I tried to make it work for https://gist.github.com/spencerwooo/7955aefc4ffa5bc8ae7c83d85d05e7a4
(TermiWidget) but a lot need to change on that widget that I don't have enough knowledge on it to do it.
async function fetchData() {
const apiurl = `https://api.swo.moe/stats`
const url = `${apiurl}/instagram/${instagram}`
const request = new Request(url)
const res = await request.loadJSON()
return res.data.count
}
this returns correct data for the request but I don't know how to implement it for the whole widget. your function fetchData() there has a "data" variable that no longer works with the new changes because you cannot request all datas at once with new api and needs seperate requests.
from substats.
yes, the current version does not support requesting a list of sources, as it is blocked by an upstream dependency (check README), i will try to get feature parity with the original 1.0 asap after the upstream is resolved.
from substats.
Related Issues (20)
- 没有缓存模块? HOT 4
- Add support for WeChat official account HOT 1
- Add support for yuque
- The Inoreader API is not working
- Instagram API strikes
- 请求添加缩写 HOT 1
- Add support for Douyin 抖音 HOT 1
- Getting multiple query params HOT 1
- Inoreader not working
- Instagram doesn't work
- Telegram not working
- CoolApk 无法识别粉丝数量 HOT 2
- Update plans for v3 HOT 1
- twitter status is down HOT 1
- Add support for Gitlab
- api.swo.moe 下的 feedly 接口无法使用
- 爱发电的接口好像有问题了 HOT 1
- Zhihu API broken - 知乎API坏掉了 HOT 2
- B站接口好像突然跪了 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from substats.