5.5.14 • Published 6 years ago

fridayapi v5.5.14

Weekly downloads
1
License
Apache 2.0
Repository
github
Last release
6 years ago

FridayAPI

Build Status FridayAI version FridayAPI version FridaySERVER FridaySERVER FOSSA Status

$ npm i fridayapi

FridayAI API

How can I use This AI ?

You have to get API Key by developer . To do that you have to mail your reason to infofridayapp@gmail.com

Github.io Page


Lastest Patch 23.07.2018 | v5.5.14 Domain update : api.fridaytec.com


Example

fridayapi.config('apikey',false);

fridayapi.ai('Hi',(ai) => {
console.log(ai)
})

/*
Friday answers:
- Hi how can I help ?
*/

*Or

fridayapi('Hi', 'apikey',ai => {
console.log(ai)
})

/*
Friday answers:
- Hi how can I help ?
*/

Handling errors

While using debug mode every errors will gives error codes.

fridayapi.config('apikey',(**DEBUG MODE**));

*TRUE 
*FALSE
CodesMessage
version_failYou will get this error when your client outdated
api_failYou will get this error when your api key wrong
connection_failYou will get this error when your client can't connect internet or blocked to connect
server_failYou will get this error when server on maintenance. In case you get this error try use it again
empty_msgYou will get this error when you didn't typed any messages
empty_keyYou will get this error when you didn't typed any apikey
apikey_lengthYou will get this error when your apikey shorter than 9 characters
if(ai === 'api_fail') {
return console.log('Wrong api key')
}

Tests

Test PCFinal Version
PC 1 Node60.768ms*
PC 2 Node60.946ms*
PC 1 Node91.057ms*
PC 2 Node90.919ms*

PC 1 : VM under load

PC 2 : VM no tasks in background just started

*There will be difference between other computers/clients or internet connections .


This module on Final version . In future this module will only takes bug/fix updates

If the server can not be accessed. Please contact the project developer at ahmetcanco@gmail.com. If you report the error code given, you will receive 100 free requests.


FridayAI© 2018

Intelligent Things© FridayAPI | FridayVision | FridayBox | FridayIoT | FridayHOME | Friday Module Assistant | FridayAI-pc

License

FOSSA Status

5.5.14

6 years ago

5.4.14

6 years ago

5.3.14

6 years ago

5.3.12

6 years ago

5.3.11

6 years ago

4.1.8

6 years ago

4.1.7

6 years ago

4.1.6

6 years ago

4.1.5

6 years ago

4.1.4

6 years ago

4.1.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.9.9

6 years ago

3.9.8

6 years ago

3.9.7

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.9.9

6 years ago

1.9.8

6 years ago

1.9.7

6 years ago