Is it possible to expose the shared data URL as JSON? #641
Unanswered
angelhodar
asked this question in
Q&A
Replies: 2 comments
-
You wouldn't specifically need to go through a shared url. If you can log in as the admin or website owner, you can pull stats from the api. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was looking for something similar a while ago for an 11ty page (an SSG). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Initially I thought if it was possible to expose an API of the DB to, for example, get the views in a page (like some blogs that shows the view count). Something like this but with less complexity and features to start.
But as we have the possibility to share analytics by URL, what about exposing the URL data as JSON to be consumed like a single endpoint? Or maybe just create another colum with an autogenerated api key for a website, which would be like the "token" to be used as authorization by my website to show the view count for each blog post.
Beta Was this translation helpful? Give feedback.
All reactions