waldronlab / cBioPortalData

Integrate the cancer genomics portal, cBioPortal, using MultiAssayExperiment
https://waldronlab.io/cBioPortalData/
30 stars 12 forks source link

API changes? #75

Closed denoqo closed 8 months ago

denoqo commented 8 months ago

Hello,

It seems the cBioPortal() keeps failing to connect to cBioportal. Wondering if it is just a temporary thing?

> cbio <- cBioPortal()
Error: '.service_validate_md5sum' failed:
  Not Found (HTTP 404).

Thank you for your help!

[Package cBioPortalData version 2.8.1 [R 4.2.0]

denoqo commented 8 months ago

Ok, I think cbiportal changed their API.

Below worked for me:

cbio = cBioPortalData::cBioPortal(
  hostname = "www.cbioportal.org",
  protocol = "https",
  api. = "/v3/api-docs/public",  # update here
  token = character()
)

Ref: https://www.cbioportal.org/swagger-ui/index.html?urls.primaryName=public

LiNk-NY commented 8 months ago

Hi @denoqo Thank you for reporting. I will take a look.

LiNk-NY commented 8 months ago

cBioPortal has changed to new V3 API. It will take a bit longer to update cBioPortalData to the new API. Apologies for the delay.

LiNk-NY commented 8 months ago

Update: The cBioPortal team has decided to keep the V2 API at the same location and publish the V3 API at a new URL. This will allow all tools using the old URL to keep working. That means it will keep working as before so you should no longer see the errors. Thanks!

denoqo commented 8 months ago

Thank you so much!

On Fri, Jan 12, 2024 at 2:04 PM Marcel Ramos @.***> wrote:

Update: The cBioPortal team has decided to keep the V2 API at the same location and publish the V3 API at a new URL. This will allow all tools using the old URL to keep working. That means it will keep working as before so you should no longer see the errors. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/waldronlab/cBioPortalData/issues/75#issuecomment-1889883661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKR3JCLMXYM74DZHJUE5QWDYOGJMRAVCNFSM6AAAAABBVEPZAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZHA4DGNRWGE . You are receiving this because you were mentioned.Message ID: @.***>