cURL command to get the exact number of stars in a Github Project

I am trying to collect some metrics to measure my advocacy job.

The following cURL command returns the number of Github Stars for micronaut-core repository.

curl https://api.github.com/repos/micronaut-projects/micronaut-core | grep 'stargazers_count' 

Tags: #github #curl