Skip to content

dgtlctzn/API-title-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3

Title Generation API

Description

Title Gen is an API for generating random song, book, or startup titles. The following GET endpoint allows queries for title type and amount of titles to be generated:

titlegen.us-east-1.elasticbeanstalk.com/api/v1/titlegen

Param Required Description
no false number of titles generated. An empty param will return one title. A max of 15 titles can be queried at a time.
type true type of generated title: song, book, or startup.

The format for the returned JSON response is as follows:

{
    "error": Boolean,
    "data": Array of Generated Titles,
    "type": String,
    "message": String
}

The password restricted POST route uses the Stanford CoreNLP package to process language and separate words by pos tags. Once sentences are deconstructed and pos tags assigned, words are inserted into a MySQL database by type (noun, verb, etc.). The GET route queries the database and selects random words by type and orders them in predefined pos structures.

Questions

Github profile: dgtlctzn

If you have any questions about the project please contact josephperry720@gmail.com

License

This project is covered under the GNU license

About

An API to generate random song, book, or startup titles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages