Skip to content

Instantly share code, notes, and snippets.

@epool
Created January 5, 2018 22:40
Show Gist options
  • Save epool/4f9c272b2ffb319a595248b0b69b97ed to your computer and use it in GitHub Desktop.
Save epool/4f9c272b2ffb319a595248b0b69b97ed to your computer and use it in GitHub Desktop.
Kotlin Blocking
val profile = Pikmail.getProfile("eduardo.alejandro.pool.ake@gmail.com").blockingGet()
profile.profilePictureUrl
profile.resizeProfilePictureUrl(500)
profile.nickname
// OR
Pikmail.getProfilePictureUrl(email).blockingGet()
Pikmail.getProfilePictureUrl(email, 500).blockingGet()
Pikmail.getProfileNickname(email).blockingGet()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment