Coder Social home page Coder Social logo

brackendev / gravatardemo-pharo Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 47 KB

Pharo implementation to interact with the Gravatar API. Useful example for new users

Home Page: http://bracken.dev/

License: MIT License

Smalltalk 100.00%
pharo smalltalk gravatar gravatar-api api-client api-wrapper demo new-user

gravatardemo-pharo's Introduction

My Gravatar demo projects are for developers to get acquainted with languages and platforms with something more than a "Hello World" example. Versions are available for Clojure, F#, Newspeak, Pharo, Racket, and Squeak.


GravatarDemo-Pharo

Pharo implementation to interact with the Gravatar API.

  • Pharo 10 reference platform.
  • Examples and tests included.

Installation

In a Playground, Do it:

Metacello new 
  repository: 'github://brackendev/GravatarDemo-Pharo/src';
  baseline: 'Gravatar';
  load.

Example Usage

In a Playground, Do it:

Gravatar exampleRetrieveImageForEmail inspect.
Gravatar exampleRetrieveImageForEmailSizeRating inspect.
Gravatar exampleRetrieveProfileForEmail inspect.
"Retrieve the image for the email address, open in an inspector"
(Gravatar retrieveImageForEmail: '[email protected]') inspect.
"Retrieve the image (200 px by 200 px, rated 'G' or 'PG') for the email address, open in an inspector"
(Gravatar retrieveImageForEmail: '[email protected]' size: 200 rating: 'pg') inspect.
"Retrieve the profile for the email address, open in an inspector"
(Gravatar retrieveProfileForEmail: '[email protected]') inspect.

Acknowledgements

This project makes use of the following third-party libraries:

Author

Bracken Spencer

License

GravatarDemo-Pharo is released under the MIT license. See the LICENSE file for more info.


Useful Links

gravatardemo-pharo's People

Contributors

brackendev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ralfbarkow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.