{"id":16377949,"url":"https://github.com/nichtstudiocode/gofile4j","last_synced_at":"2025-10-26T10:30:43.712Z","repository":{"id":39933127,"uuid":"275402892","full_name":"NichtStudioCode/GoFile4j","owner":"NichtStudioCode","description":"A java wrapper for the GoFile.io API","archived":true,"fork":false,"pushed_at":"2022-05-20T21:49:05.000Z","size":23,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T13:43:45.071Z","etag":null,"topics":["file","gofile","java","upload","upload-file","upload-images","upload-pictures","upload-videos","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NichtStudioCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-27T15:43:45.000Z","updated_at":"2024-03-13T09:20:10.000Z","dependencies_parsed_at":"2022-08-24T18:21:03.739Z","dependency_job_id":null,"html_url":"https://github.com/NichtStudioCode/GoFile4j","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NichtStudioCode%2FGoFile4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NichtStudioCode%2FGoFile4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NichtStudioCode%2FGoFile4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NichtStudioCode%2FGoFile4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NichtStudioCode","download_url":"https://codeload.github.com/NichtStudioCode/GoFile4j/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238310172,"owners_count":19450802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","gofile","java","upload","upload-file","upload-images","upload-pictures","upload-videos","wrapper"],"created_at":"2024-10-11T03:44:17.796Z","updated_at":"2025-10-26T10:30:43.345Z","avatar_url":"https://github.com/NichtStudioCode.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoFile4j\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b05a911385fa404883066ce138d9b4f3)](https://app.codacy.com/manual/NichtStudioCode/GoFile4j?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=NichtStudioCode/GoFile4j\u0026utm_campaign=Badge_Grade_Settings)\n\nA java wrapper for the \u003chttps://gofile.io\u003e API\n\n## Uploading files\n\nCreate a new instance of GoFile4j and provide the Files you want to upload\n```java\nGoFile4j goFile4j = new GoFile4j(file, file1);\n```\noptional: set these values\n```java\ngoFile4j.setEmail(\"email@domain.com\"); // The email of the account the upload should be associated with (= manage uploads)\ngoFile4j.setDescription(\"description\"); // The description shown on the download page\ngoFile4j.setPassword(\"password\"); // The password used to access the download page\ngoFile4j.setTags(\"tag1,tag2,tag3\"); // The tags\n```\nUpload the files\n```java\ngoFile4j.upload();\n```\n\n## Use the FileUploadResult\nThe upload method returns a FileUploadResult, here is how you use it:\n\nThe two codes ```getCode()``` and ```getRemovalCode()``` return the values from the API.\n\n```getDownloadLink()``` provides a link to the main download page.\n\n```getDirectDownloadLinks()``` returns an array of direct download links. **These links will not work if the main download page hasn't been visited before.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichtstudiocode%2Fgofile4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnichtstudiocode%2Fgofile4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichtstudiocode%2Fgofile4j/lists"}