Skip to content

A Flask API who converts morse to text and text to morse

License

Notifications You must be signed in to change notification settings

BidulaxStudio/morse-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

More API

A Flask API who converts morse to text and text to morse

Creation :

  • Created by Bidulman
  • Work with Python 3+
  • Uses Flask API

Usage :

Download the repository with git :

git clone https://github.com/BidulaxStudio/morse-api/

Configure run.py and start the project with python3 run.py !

Examples :

import requests

url = "http://localhost/api"

res = requests.get(url, params={'text': "I'm going to be converted !"})
print(res.text)

res = requests.get(url, params={'morse': ".. .----. --   -. --- .--   .-   ... - .-. .. -. --.   -.-.--"})
print(res.text)

res = requests.get(url, params={'text': "Is there a difference ?", 'morse': ".. ...   - .... . .-. .   .-   -.. .. ..-. ..-. . .-. . -. -.-. .   ..--.."})
print(res.text)

And... That's all for today !

About

A Flask API who converts morse to text and text to morse

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages