- »
- [Reference](https://pygithub.readthedocs.io/en/stable/reference.html) »
- [Github objects](https://pygithub.readthedocs.io/en/stable/github_objects.html) »
- Clones
- [View page source](https://pygithub.readthedocs.io/en/stable/_sources/github_objects/Clones.rst.txt)
* * *
# Clones [¶](https://pygithub.readthedocs.io/en/stable/github_objects/Clones.html\#clones "Permalink to this headline")
_class_ `github.Clones.` `Clones` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/Clones.html#github.Clones.Clones "Permalink to this definition")
This class represents the total number of clones and breakdown per day or week for a GitHub repository.
The reference can be found here
[https://docs.github.com/en/rest/metrics/traffic#get-repository-clones](https://docs.github.com/en/rest/metrics/traffic#get-repository-clones)
The OpenAPI schema can be found at
\- /components/schemas/clone-traffic