This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ikon106's profile picture

[Question] Downloading api's

Started by ikon106, 12 December 2012 - 01:38 AM
ikon106 #1
Posted 12 December 2012 - 02:38 AM
How do you download api's from pastebin? Can you do it within a computer? If not how do I copy it to a file without it being named name.txt?
huettner94 #2
Posted 12 December 2012 - 06:04 AM
You download it with:

pastebin [YourPastebinCodeHere] [YourOutputFilenameHere]

Then you create a startup File with the content:

os.loadAPI([PathToAPI])

After you restart your computer the API will be loaded
anonimo182 #3
Posted 12 December 2012 - 10:06 AM
You download it with:

pastebin [YourPastebinCodeHere] [YourOutputFilenameHere]

Then you create a startup File with the content:

os.loadAPI([PathToAPI])

After you restart your computer the API will be loaded
You forgot the "get" in pastebin:

pastebin get [YourPastebinCodeHere] [YourOutputFilenameHere]
Now it will work