Hey Siri...what's my voting power?

in #steemdev4 years ago

Love her or hate her, Siri can be quite convenient..especially since it's the only way to achieve anything if you've got a pair of AirPods Pro. Being an Apple fanboi and interested in all things tech, I wanted to see if I could get Siri to report on something useful to me...like my current voting power! No you don't need to know how to create iOS apps but you'll need to install the Shortcuts app from the App Store. It's a very powerful app that allows plenty of customisations. I think it's one of those apps that deserves a little more recognition and promotion as I didn't know about it until recently.

IMG_1018.jpg

The app will seem daunting because there's an abundance of features and pre-baked shortcuts. Feel free to explore the many recipes available—I haven't had a chance to discover them all and find ones that would be useful to me.

To create a shortcut that will display your voting power is quite straightforward. Thanks to @justyy's API on https://steemyy.com you can get your current VP by issuing a GET request to this URL: https://uploadbeta.com/api/steemit/account/vp?id=contrabourdon (simply add your username as the id value).

Your shortcut flow sequence will be as follows:

  1. URL request to get VP
  2. Network, get contents of URL
  3. Variable, set contents of URL into VP variable name
  4. Scripting, show alert that displays VP variable with '%'

IMG_1017.jpg

Now you can simply run the shortcut on your iPhone or execute it with Siri. Siri will automatically lookup your saved shortcuts if the command matches the title. I will definitely be adding more commands as I think of them. Let me know what else you think might be useful in the comments.

image.png

Yours truly,
@contrabourdon


I'm co-owner of witness untersatz with organduo!



image.png

Sort:  

你好鸭,contrabourdon!

@eii给您叫了一份外卖!

@mia-cc 斤斤 迎着大雪 徒步 给您送来
Cold Pot

吃饱了吗?跟我猜拳吧! 石头,剪刀,布~

如果您对我的服务满意,请不要吝啬您的点赞~
@onepagex


You lose! 你输了!愿赌服输,请给我点赞~

@tipu curate
@giphy curate 100


A huge hug from @amico! 🤗

#sbi-skip !trdo

Congratulations @amico, you successfuly trended the post shared by @contrabourdon!
@contrabourdon will receive 0.30274763 TRDO & @amico will get 0.20183175 TRDO curation in 3 Days from Post Created Date!

"Call TRDO, Your Comment Worth Something!"

To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site

Upvoted 👌


Powered by witness untersatz!
Current VP: 68.62%

Thank you for supporting @CatsMakeKittens by being a part of our community @contrabourdon.

Each CATS you purchase gets you daily upvotes from me @CatScientist as our community grows so do your rewards for being a member!

👏🏽👏🏽👏🏽
creative, what else can he (siri) do?

Posted using Partiko iOS

Everything except increase the price of Steem.

Haha, 😄

Posted using Partiko iOS

Wow this is really cool bro. Nice feature .

@steemindian curate 100

Posted using Partiko Android

This post has been upvoted by @steemindian 👌

Discord

https://discord.gg/r4m3Zkb

Telegram

https://t.me/stemindia


This curation bot is powered by witness @untersatz.
Current VP: 78.41%

Very cool. I had a quick look at this app recently and it looks neat. The tricky part is thinking of something cool to do with it (aka a ‘use-case’). Thanks for sharing :-)

Posted using Partiko iOS

That’s the thing. You have the tools but nothing to fix. Haha.

Posted using Partiko iOS

Very clever invention...

!BEER
!shop

This post has received a 3.13 % upvote from @drotto thanks to: @sbi-booster.

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.034
BTC 63202.55
ETH 3085.17
USDT 1.00
SBD 3.85