https://github.com/automattic/gravatar-sdk-ios
Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.
https://github.com/automattic/gravatar-sdk-ios
gravatar
Last synced: 6 months ago
JSON representation
Gravatar SDK is a Swift library that allows you to integrate Gravatar features into your own iOS applications.
- Host: GitHub
- URL: https://github.com/automattic/gravatar-sdk-ios
- Owner: Automattic
- License: mpl-2.0
- Created: 2024-01-15T17:04:33.000Z (over 1 year ago)
- Default Branch: trunk
- Last Pushed: 2025-03-31T20:44:01.000Z (6 months ago)
- Last Synced: 2025-04-02T20:56:34.729Z (6 months ago)
- Topics: gravatar
- Language: Swift
- Homepage: https://gravatar.com
- Size: 63.1 MB
- Stars: 78
- Watchers: 9
- Forks: 21
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE-OF-CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Gravatar
[](https://swiftpackageindex.com/Automattic/Gravatar-SDK-iOS)
[](https://swiftpackageindex.com/Automattic/Gravatar-SDK-iOS)
[](https://opensource.org/licenses/MPL-2.0)Gravatar SDK is a Swift library that allows you to integrate [Gravatar](https://gravatar.com/) features into your own iOS applications.
If you're also looking to integrate Gravatar in your Android app, check out our [Gravatar SDK for Android](https://github.com/Automattic/Gravatar-SDK-android)!
## Features
- Display a profile view or an avatar through ready-to-use UI components.
- Avatar URL calculator based on email and several [query options](https://docs.gravatar.com/general/images/).
- Avatar downloading based on email or url.
- `UIImageView` extension to directly set the downloaded image.
- SwiftUI Avatar component(`AvatarView`)
- Built-in image cache (with the ability to inject your own cache).
- Avatar uploading to a [Gravatar](https://gravatar.com/) account.
- Gravatar profile fetching based on email.
- QuickEditor: This customizable sheet allows you to manage your avatar and Gravatar profile. You can select an existing avatar or upload a new one, and it provides a summary of your Gravatar profile.## Installation
### Create an API key
Follow the steps in the [REST API documentation](https://docs.gravatar.com/api/profiles/rest-api/) to create a Gravatar API key. You can use some features without an API Key, but you’ll receive limited information, and stricter rate limits may apply, so we highly encourage you to create one in the [developer portal](https://gravatar.com/developers/).
For installation instructions and examples, see out [getting started](Sources/Gravatar/Gravatar.docc/1.%20GettingStarted.md) guide.
## Documentation
You can find some detailed articles, tutorials and API docs via these links:
- [Gravatar docs](https://automattic.github.io/Gravatar-SDK-iOS/gravatar/documentation/gravatar/)
- [GravatarUI docs](https://automattic.github.io/Gravatar-SDK-iOS/gravatarui/documentation/gravatarui/)## Author
Gravatar
## Coding Style
Check out our [Coding Style guide](CODINGSTYLE.md).
## Contributing
Read our [Contributing Guide](CONTRIBUTING.md) to learn about reporting issues, contributing code, and more ways to contribute.
## License
Gravatar-SDK-iOS is an open source project covered by the [Mozilla Public License Version 2.0](LICENSE.md).