Neocities_upload: Upload A File To Your Neocities Site.
Maybe your like
seankross/neocities Neocities.org API wrapper
Package index Search the seankross/neocities package Vignettes- README.md
- Browse all...
Description Usage Arguments Examples
Description
Upload a file to your Neocities site.
Usage
| 1 2 | neocities_upload(path, ..., user = neocities_user(), pass = neocities_pass(), filename = NULL) |
Arguments
| path | The path to the file you want to upload. |
| ... | Arguments that will be passed to the underlying httr POST request. |
| user | The username for your neocities account. See ?neocities_user for more details. |
| pass | The password for your neocities account. See ?neocities_pass for more details. |
| filename | The name of the file as it will appear on neocities.org. If NULL, the base name of the file will be used. The default value is NULL. |
Examples
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## Not run: ## Username and password have not been set as environmental variables, so ## the user will be prompted to enter their username and password if in ## interactive mode. This file will appear on neocities.org at ## http://username.neocities.org/report.html neocities_upload("~/Desktop/report.html") ## Setting username and password as environmental variables is wise when not ## in interactive mode, but be sure not to distribute them with your code. Sys.setenv(NEOCITIES_USERNAME = "username") Sys.setenv(NEOCITIES_PASSWORD = "password") neocities_upload("~/Desktop/report.html") ## You can also pass your username and password as function arguments. neocities_upload("~/Desktop/report.html", user="username", pass="password") ## You can change what the filename will be on your neocities domain. This ## file will appear at http://username.neocities.org/october.html neocities_upload("~/Desktop/report.html", filename="october.html") ## End(Not run) |
Related to neocities_upload in seankross/neocities...
seankross/neocities index README.mdR Package Documentation
rdrr.io home R language documentation Run R code onlineBrowse R Packages
CRAN packages Bioconductor packages R-Forge packages GitHub packagesWe want your feedback!
Note that we can't provide technical support on individual packages. You should contact the package authors for that. Tweet to @rdrrHQ GitHub issue tracker [email protected]
Personal blog What can we improve? The page or its content looks wrong I can't find what I'm looking for I have a suggestion Other Extra info (optional) Submit Improve this page Embedding an R snippet on your website Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.
CloseTag » How To Add Images In Neocities
-
Basic Neocities Site Tutorial
-
A Beginner's Guide To HTML And CSS - Neocities
-
How Do I Add A Custom Background Image For My Neocities ... - Reddit
-
Absolute Beginner's Guide To Neocities - Learn Sadgrl
-
CODE CLUB: Build A Neocities Website - YouTube
-
How To Add A Favicon To Your Website - Hostinger
-
Can I Change The Size Of An Image? - Codecademy
-
Html Codes How? Neocities? Site, Th, Or Otherwise - Toyhouse
-
How To Add A Background To A Website: 14 Steps (with Pictures)
-
Chameleon's Html Tutorial - Ctrl-C Club!
-
A Recipe To Your Own Home-Coded Personal Website
-
Why Can't I Get The Hero Image To Show In My CSS? - Stack Overflow
-
How Can I Add An Animation GIF To HTML? What Code Should I Use?
-
Neocities · GitHub Topics