Skip to content

Wrapping around the new google voice API? #7

@tobocop2

Description

@tobocop2

@jaraco

So this is not an issue at all, but I've been depending on this module to send and receive messages inside of weechat. However, the old API does not support group messages fully. It can only receive messages and not send. In order to send, one needs to use the new google voice API.

In an absolutely quick and dirty attempt to get group messages working, I "reverse engineered" the "send/receive portions

You can see the implementation as proof of concept here:

Send SMS with new API

Inside of

send_sms, get_sms

The good about moving to the new API

  • The new google voice API seems nice and modern and returns json payloads
  • No longer a need to parse html and can remove beautiful soup dependency
  • Potentially faster response times
  • An API key can now be passed around instead of logging in with plain text auth (I think...that is how I am doing it now)

The bad

  • This package would basically need to be re-written to wrap around the new API
  • Authentication might be more complicated (I haven't dug into the source here much so it might be of similar complexity)
  • The request post body is strangely formatted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions