2 posts
Posted 26 February 2016 - 11:30 PM
Ok im having trouble finding the place to put the api can someone help me?
where do i put the api i have downloaded people say there is a file
1080 posts
Location
In the Matrix
Posted 27 February 2016 - 01:31 AM
Which api?
Edit: Now that I think about it, i'm assuming you're meaning you downloaded a file onto your computer for your single player world.
Simple search picked up
this post from 2012
Edited on 27 February 2016 - 12:36 AM
957 posts
Location
Web Development
Posted 27 February 2016 - 07:43 AM
Usually, APIs and programs go in the root directory.
For a program on pastebin, you'd run this command in a computer:
pastebin get <pastebin code> <file path>
Replacing <pastebin code> and <file path> with the appropriate values, of course.
Simply putting a name for <file path> automatically puts in the root directory.
If you give us a link to the program and API, we can give you more specific commands.
2 posts
Posted 27 February 2016 - 03:45 PM
where do i put the api i have downloaded people say there is a file
a cleverbot api
like in this video
https://www.youtube....h?v=uTpIcZnUBKMi have the paste bin but i need api for chat and speaker i think
this is the cleverbot pastebin site
http://www.computerc...lua-up-to-date/
957 posts
Location
Web Development
Posted 27 February 2016 - 10:33 PM
That program is a bit unique; it's a program that you can run, and also an API that can be loaded and used in another program.
Most APIs won't do anything if you run them.
If you want to use it like a program, run these commands:
> pastebin get Dv9x1ppc cleverbot
> cleverbot
Or, if you want to use it in one of your programs:
Download it, with the same pastebin command.
Add
os.loadAPI("cleverbot") into your program. The post you linked has a small example on how to use it.
Edited on 27 February 2016 - 09:34 PM