leogomezz4t / PyTextNow_API

Python texting API utilizing TextNow API
MIT License
67 stars 41 forks source link

issue sending sms #50

Closed Bangbang901 closed 2 years ago

Bangbang901 commented 2 years ago

I have an issue sending sms. In wich path do i need to be to execute the send sms command and also what is the full command to send an sms. thank you

leogomezz4t commented 2 years ago

Well it is a python library so you have to import it to your python script.

import pytextnow

client = pytextnow.Client("username", "password", sid="sid", csrf="csrf")

client.send_sms("number", "message")
Bangbang901 commented 2 years ago

Please tell me all the steps to send a message. I know how to change my id and cookies in the txt file manually but the other commands does not work for me. I have installed requirements.txt. I also have python installed. Tell me what i am missing. Below is the respond i get when i try to run the commands.

client = pytextnow.Client("username", "password", sid="sid", csrf="csrf") 'client' is not recognized as an internal or external command, operable program or batch file.

kk-deng commented 2 years ago

Please tell me all the steps to send a message. I know how to change my id and cookies in the txt file manually but the other commands does not work for me. I have installed requirements.txt. I also have python installed. Tell me what i am missing. Below is the respond i get when i try to run the commands.

client = pytextnow.Client("username", "password", sid="sid", csrf="csrf") 'client' is not recognized as an internal or external command, operable program or batch file.

Looks like you run this line on cmd. You should create your own .py file and run this code snippet.

leogomezz4t commented 2 years ago

Please tell me all the steps to send a message. I know how to change my id and cookies in the txt file manually but the other commands does not work for me. I have installed requirements.txt. I also have python installed. Tell me what i am missing. Below is the respond i get when i try to run the commands.

client = pytextnow.Client("username", "password", sid="sid", csrf="csrf")

'client' is not recognized as an internal or external command,

operable program or batch file.

Yes this is not a command line interface (CLI). It is a python library so you will have to make a python file (.py) then write your code there and try running it with python

Bangbang901 commented 2 years ago

Can i pay you to make me a CLI?

On Wed, Jan 5, 2022 at 4:40 PM Leo Wu-Gomez @.***> wrote:

Closed #50 https://github.com/leogomezz4t/PyTextNow_API/issues/50.

— Reply to this email directly, view it on GitHub https://github.com/leogomezz4t/PyTextNow_API/issues/50#event-5849025579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUSXKJZOLX6OTIAFZWNZACTUUS3D3ANCNFSM5G35LNJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

leogomezz4t commented 2 years ago

Yes of course. Do you have a discord or something to communicate?

Bangbang901 commented 2 years ago

Telegram? @Onlym0neyz

On Wed, Jan 5, 2022 at 4:48 PM Leo Wu-Gomez @.***> wrote:

Yes of course. Do you have a discord or something to communicate?

— Reply to this email directly, view it on GitHub https://github.com/leogomezz4t/PyTextNow_API/issues/50#issuecomment-1006104683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUSXKJ5FRE2L4X2IRHE2MWLUUS4CDANCNFSM5G35LNJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

leogomezz4t commented 2 years ago

Sure