API endpoints for team blogs
complete
s
sanyamjainsj04
We want to show our latest 2 hashnode blogs to our website but there is no endpoints available for fetching team blogs.
If you can make team blogs endpoints available like individual account. It would be Aweome
Log In
Sandro Volpicella
complete
This is available in our new API: https://gql.hashnode.com with the query
query LatestHnBlogs{
user(username:"SandroVolpicella"){
id
publications(first:2){
edges{
node{
id
title
}
}
}
}
}
Kavir
in progress
Sandro Volpicella
Hi sanyamjainsj04
this is possible with our new API.
Head over to the playground: https://gql.hashnode.com and enter this query (change the username to yours)
If you want to join the beta program for the API please check out this post: https://townhall.hashnode.com/hashnode-public-apis-2-closed-beta
Query:
query LatestHnBlogs{
user(username:"SandroVolpicella"){
id
publications(first:2){
edges{
node{
id
title
}
}
}
}
}
Kavir
Hi sanyamjainsj04 we're working on improvements to our APIs and will provide an update on this soon!
Kavir
planned
Ayodele Samuel Adebayo
Great idea, we’ll evaluate this 😃