Observed since 20 Oct, 18:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
1fichier-api
1fichier API in TypeScript
This library is designed for interactions with the 1fichier API.
npm install 1fichier-api
API1fichierconstructor(token: string)
Configure the library to use the specified settings.
token - string : The user private token.downloadFile(settings: DownloadFileInputInterface)
Returns the download link for the specified file
settings - DownloadFileInputInterface: The file specification.
returns - DownloadFileOuputInterface
throw API1FichierResponseNotOk(statusCode: number, message: string): If the api returns an error.
copyFile(settings: CopyFileInputInterface)
Imports the file to your personnal account
settings - CopyFileInputInterface: The files to import and where to store them.
returns - CopyFileOutputInterface
throw API1FichierResponseNotOk(statusCode: number, message: string): If the api returns an error.
editFile(settings: EditFileInputInterface)
Edits the file attributes
settings - EditFileInputInterface: The attributes to be changed and the files concerned.
returns - EditFileOuputInterface*
throw API1FichierResponseNotOk(statusCode: number, message: string): If the api returns an error.
Don't hesitate to contribute to the repository!
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^14.14.35 | runtime |
node-fetchEnvironment{
"local_name": "node-fetch",
"alias": false,
"peer_metadata": null
} | ^2.6.1 | runtime |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^4.2.4 | development |
Source distribution
{
"integrity": "sha512-/wYDqwx6l6sK4XDRlbE9r6PKmjLlEb9y1fKWF+O+LEjktTHhK0QFIBmf6jFRYG4TXC/uMfApIhbNgyRr5UA8HA==",
"shasum": "a0a4235715b93b4ab3eb2cb9d369f13c18ccd6a1",
"tarball": "https://registry.npmjs.org/1fichier-api/-/1fichier-api-1.0.1.tgz",
"fileCount": 4,
"unpackedSize": 6183,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq9BNCRA9TVsSAnZWagAA100P/R/wcjJAsPztEC3IHxmn\n6vd5WO5vhAI+ryOyvKEYegPGu310xRTuoiIUqtdxSR7izC7JMyjuqfY+dGWu\nkiJIPAvQ/2G8JiXwWKAKyKDKg/h/Qtme92Xo77Kjfkpmcz6ptPT4ddrUmpQ6\nZkomtR/jKMR5S6bPKKYmCQlqFgSy+bIEsmntZ/ZP9NizTiJhniK6+AvDCVjf\nEEgLetBtLO5GT6c6oee7/J+H95qE5EB3VAJmAQ8OmCBV0NA6S6wLHZRej18I\nRUKTBl+W3s5x8zzoglSqfSfOr3GrzbZgRnl8Nkvy6SUjuXxwp2JaHdYfj9MJ\npsGAHNjD0wELJDLBDSF9str2nyBi/BaGlI7BbQGdfVqwhv+etygAqTY9lD6O\nRg3cB0iQ56Q8VWJwyU5cT+6oZk6SRG9q3xevaFdfjAn21vq7lcu2Wc4ybghA\njWwirxcdL+16fThY+SggtWlOUj+EQWhXgrOPgtAj0EAQxcTDh7VD0mkN6ZK+\niMEdpOMNXljRfXvai+3q2FWB8gKtjvbt06aXfEDek7A+0MniKU3dJOxsMHnO\nsMyKAlSpCdxmyuLBQUIUBxDdyeK8fPgsjsnqU4GVro6GZCoT8i4zQSXHvvpU\niR3CqAzVcU0zngXsqQuuNb9eht4FNkTDdhFHIwXVYMpjrwmhahvQ/2YO/1HM\nrfcu\r\n=Wlf7\r\n-----END PGP SIGNATURE-----\r\n",
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIAKgYhSrsne561/1JtpeXmQE/0Ydig9T1PFeQYp3pVPVAiEAhzvZiD2LvishlbR1bBfDi4ElCugPeAro9a+ogLQe4Mk="
}
]
}Observed since 20 Oct, 18:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:8a85aca0a55d4e2c5b556eee3d7bace14c20ad3413bba86d12b096ac824393bb